Winning the game! (SOLVED!)

Started by The Almighty Metroid, Sat 25/10/2008 04:16:30

Previous topic - Next topic

The Almighty Metroid

Hello again!
Ok i need to know, once the total score is reached the game goes to a "You win!" screen with "replay" and "quit"
How ,once the maximum total score is reached, do i change the room to another?

Thanks 8)
TAM
Who is more foolish? The fool, or the fool that follows him?

Ghost

game.score is the variable you want, I think. It holds the current score- so you could simply check if game.score == whatever_your_max_score is in the repeatedly_execute function, and once you reach it, use player.changeRoom.

The Almighty Metroid

cool thanks Ghost! Your a very big help.
Who is more foolish? The fool, or the fool that follows him?

SMF spam blocked by CleanTalk