#84144 - Linkiboy - Sat May 20, 2006 7:03 pm
Hi.
I have a problem. I have made a menu for my WIP game. However once I choose from the menu what level to play it just stops. The emulator doesn't crash and still performs normally. I have yet to test it on hardware.
That's part of the menu code that when altered caused the game to malfunction.
If you need more of my game source just ask.
Download my game here...
http://dslink.itsfun.be/lieroproject.nds - .nds
http://dslink.itsfun.be/lieroproject.ds.gba - ds.gba
Last edited by Linkiboy on Sun May 21, 2006 12:23 am; edited 1 time in total
I have a problem. I have made a menu for my WIP game. However once I choose from the menu what level to play it just stops. The emulator doesn't crash and still performs normally. I have yet to test it on hardware.
Code: |
while(1) { if(objective == 0) { menuRun(); } if(objective == 0) { if(Pad.Newpress.Start) { objective = 1; if(objective == 1) { objective = 2; dirtLoad(); } } if (objective == 2) { dirtRun(); } } } |
That's part of the menu code that when altered caused the game to malfunction.
If you need more of my game source just ask.
Download my game here...
http://dslink.itsfun.be/lieroproject.nds - .nds
http://dslink.itsfun.be/lieroproject.ds.gba - ds.gba
Last edited by Linkiboy on Sun May 21, 2006 12:23 am; edited 1 time in total