Cameleon 2010


GuZzO

Still Fresh
Joined
Jan 29, 2009
Messages
9
I'm porting an old game for GP2X F200 only (sorry for the F100 owners...)

I have an issue to check and exit when game is over. I provide the sources and compiled game in the following archive:

http://dl.free.fr/dtE9Meylf



During the game, i check if players are able to play. If no, i display the score and then exit. Actually, that's what i would like to do, not what's happen....

Line 347, there's a process to display score and exit game (called "Display_results();"). If this process is commented, everything is fine, the program always works and detects when game is over.
But if this line is not commented, the game doesn't even start!!! It exits just after the menu, even if the exit condition is false!!

I don't understand at all!

Could someone give me a hand please!

GuZzO
 

GuZzO

Still Fresh
Joined
Jan 29, 2009
Messages
9
SOLVED !

The process was running too fast and reach the exit condition before values were initialized
 
Top