Change Scene Help

devmattdevmatt Member Posts: 38

In our game, we have a menu with two buttons, "How To Play" and "Start". This "Start" button is actually just an image in the scene and we put an actor called "Start/Restart" over it so that when touched, it will change the scene to the play area. And when you pause the game and press "Restart" it has the same effect, resetting all the attributes and putting the player to the play area. This "Start/Reset" actor is also over the "Play Again" button in the Game Over scene.

However, we created a totally separate scene for the CountDown. This Countdown Scene functions properly. Whenever the countdown hits 0 it will go to the play area. So when we press "Play Again" at the Game Over scene, or "Restart" at the pause menu, it always (just as we want) sends us to the countdown scene which then sends us to the play area. Here is the issue:

This doesn't work at the menu screen. Keep in mind the menu screen, while having the name "Start" has the same actor over it with the same components as the Restart and Play Again buttons. But when we press the "Start" button at the menu, it sends us straight to the play area rather than to the Countdown scene. When Actor is Pressed, Change Scene to CountDown.

What's wrong then?

Comments

Sign In or Register to comment.