- Home /
Menu communication failed
Hi, I have design some menus in my game and each one use for example OnMouse()functions and 3dtexture to check with the exit and that stuff.
Ok so in total I have 3:
A MainMenu, GameOverMenu and the Game itself menu.
So the first time I start from Menu it takes me to the game and when I lose losing points in a switch statement then I travel to the gameover menu, then in that gameover menu there is an option to play again, so if I clicked that it takes me to the first Menu, but when I click play the game the game just bug and it takes me directly to the GameOverMenu.
Im thinking that maybe is that it needs a loop or something but Im not sure.
Any help would be greatful. Thanks
You're very unlikely to get an answer for this unless we can see some code :)
Answer by Larry-Dietz · May 10, 2010 at 05:15 PM
My best guess is that the variable you are using to determine GameOver is not being reset. Try resetting that to your starting value in teh code that runs when the Play Again button is pressed, before you actually tell it to play again.
-Larry