I have some trouble with my game for the iphone.
My game consists of two files - geapp.dat and levels.dat
geapp.dat contains the main menu, levels.dat is the actual game. I already built one game with this setup in December in Xcode, and the same setup works fine in GE Player (-> pressing a button
in the main menu loads the game).
Xcode succesfully builds my new game and I test it on the iPod. The main menu is loaded, then I press the button to load the game and nothing happens beside a short black screen, then
the main menu appears again.
Is there an issue with having two files in the ge app xcode project (same game files work perfectly in GE Player)?
This is the code to load the second game file:
- Code: Select all
if(LevelsDone == 0) {CurrentLevel = 1; saveVars("save.dat", "LevelGroup"); LoadGame("levels.dat");
; ;}
- Code: Select all
LoadGame("levels.dat");
I hope you can help.
Thanks