I keep being pointed to krenisis' tutorials, and as expected they have taught some questionable practices. A bit of advice, do not use textNumber as a variable, only a method of display. So, instead create a variable named score, and whenever you want the score to increase, add to that. Then in the text actor's draw event, use this.
- Code: Select all
textNumber=score;
textNumber has been known to have some glitches in it, I believe I remember trying to help someone in a similar situation to yours. Not sure if that will fix it, but it can save you some grief in the future.
Not quite sure I follow with the loading problem. Why can't you rename them? Not that it matters as long as the names match the games that are supposed to load. Using .ged as the extension works perfectly with Linux I believe (at least I haven't heard of problems for Linux gE exporting to Linux), but with switching between windows is where it gets tricky. Would it be possible to upload the files, or if you want email it to me? Alternatively just put the game file name, and the LoadGame calls each game has, so we can see exactly how they connect. So for example...
Splash.ged
splash -> Destroy Actor -> Script Editor
- Code: Select all
LoadGame("level1.ged");
level1.ged
player -> Collision with flag (repeat disabled) -> Script Editor
- Code: Select all
LoadGame("level2.ged");