Try to test a game. It says:
<Execution failed. Loading layout not defined. See game options in the Options menu>
But I can not find a default layout there. Or is this the loading bar the program is talking about?
I tried to do this with my current project (did not run it before) and an empty one. Both give the same error. The medieval game does work fine.
you must make a loading animation and define it in game options...
The best thing that I can do is to advise you to look closely at the medieval game and copy the events for your own game. It turned out that I had to do that in order to get my game to load properly. Also, look under "options" and compare your game with the medieval game.
Be aware that sometimes you can't really tell what's wrong by the error messages. I had someone test my game today and it crashed right away. Then it crashed my computer. (I nearly had a heart attack!) It said that it couldn't load the dialogue. It turned out that I had upgraded the engine and all of the events I placed in the game before the upgrade would no longer work. Fortunately, after a couple of hours wondering what the heck was going on, since the dialogue worked fine other places, I discovered that all I need to do is to go into an event, change it, change it back, save it, and it works again.
If ONE thing is wrong, then it seems as if nothing works. It's as if it's dying of a stubbed toe. Hang in there.
Originally posted by jeroen goulooze:
**Try to test a game. It says:
But I can not find a default layout there. Or is this the loading bar the program is talking about?**
Yeah; sounds to me like you don't have a defined "Loading Dialog" layout. I see no reason why you couldn't just use the graphic from the Medieval template as a temporary measure.
I don't know what I'm talking about.
Oh no, here comes another learning experience.
Oderint dum metuant?
I see no reason why you couldn't just use the graphic from the Medieval template as a temporary measure.
This is a really good idea. I used alot of the medieval layout, untill i could get my own...just so that i could tesst out how the game works and stuff.
(url="http://"http://www.geocities.com/coldstoneGE/")http://www.geocities.com/coldstoneGE/(/url) <~~ Check out my latest CGE project!!!
Yeah, the only reason it would say that is if you had not defined a graphic to fill that position, because the first thing that any game made by Coldstone does is shows the loading dialog, running the StartGame event.
Whose cruel idea was it to put an 'S' in lisp?
Thanx for the answers, I will try it right now.
BUT: I simply tried to create a game using the Coldstone Game Tutorial.pdf without the graphics provided with it (created my own). This means that more is needed than mentioned in the pdf.
Can someone post a checklist with all thiings needed to create a game from scratch. Some small descriptions would be nice.
Excerpt from Stray's CGE tips:
()Put all your pictures in the "Pictures->SomeFolderName" directory. They all must be at this level, you can't drill down into subfolders.
()Create a Map with at least one layer besides the PLAYER layer
()Create a Location of type "Map" with the same name as the Map
()Create an Opening Screen Graphic and put it in your "Locations->Location pics" folder
()Create a location of type "Main Location" with the same name as the Opening Screen
()On the "Layouts" tab of the Game Options box:
-Create an Interface and "Select" it in either the "Main Interface" or "Map Interface" (YOU MAY NOT HAVE BOTH)
-"Edit" the interface so that the "Game Area" box covers the entire interface
-Create a "Loading Dialog" graphic and "Select" it on the "Layouts" tab of the Game Options screen
()On the "Misc" tab of the Game Options box:
-give your game a Name
-give your game a Creator Code
-load your "Player's Map Display"
-uncheck any dialogues you don't want to appear at startup
()Create a "StartGame" event (The name must be exact)
-this should include a "User Control" action and a "Teleport" action which calls your "Main Location" (Opening Screen)
()Create a "Main" event (The name must be exact)
-this should include a "Set Map Position" action and a "Teleport" action which calls your "Map"
()Create an "EndGame" event (The name must be exact)
-This should include a "Call Event" action which calls your "StartGame" event
()Create a location of type "Event Link" and call it "Start a New Game" (Any name will do)
click the "Edit Event" button. This event should include an "Engine Call" action to "New Game"**
Hope that's helpful...
(url="http://"http://www.evula.org/world-of-cha0s/")The Homepage of Cha0s(/url)
YES!! this is very helpfull. I print it and hang it above my bed:-)