My Game won't change scenes.
allaboutiweb
Member Posts: 42
Currently I have 4 scenes in my game: Welcome, Game, Pass and Fail. When Actor 1 uses up all his bullets in the Game screen and the attribute (bulletcount) is zero or less a display text rule is used to say words to the effect that you have run out of ammo so must restart the level..... It works fine.
When the game is finalised what I really want to have happen instead is that the scene will change to the Fail screen. Basically if you haven't scored enough points with the ammo you have you failed. On the fail screen is a button that restarts the scene and one that takes a user back to the Welcome screen.
My problem is though that whenever I try to fail in the game it pops the message up and then takes me back to the welcome screen, even though it doesn't appear in any of the rules I have set......
Likewise, when I do score enough points the game should take me to the Pass screen to say congrats and then allow me to move on to the next scene or just to go back to the Welcome screen.... Nope, it misses that one out to and I go straight back to the welcome screen too.
Anyone ever come across this problem??
When the game is finalised what I really want to have happen instead is that the scene will change to the Fail screen. Basically if you haven't scored enough points with the ammo you have you failed. On the fail screen is a button that restarts the scene and one that takes a user back to the Welcome screen.
My problem is though that whenever I try to fail in the game it pops the message up and then takes me back to the welcome screen, even though it doesn't appear in any of the rules I have set......
Likewise, when I do score enough points the game should take me to the Pass screen to say congrats and then allow me to move on to the next scene or just to go back to the Welcome screen.... Nope, it misses that one out to and I go straight back to the welcome screen too.
Anyone ever come across this problem??
Comments
Are you doing change to next scene because if your on the last scene and it has a change to next scene it will take you back to the start (i think).
It's best to do change scene and pick the scene from the list.
Darren.
On my fail page though I am having more problems. I created 2 actors, one which When Pressed changes scene to Welcome, and the other When Pressed changes scene to Game. They don't do that. All they (both) do is flash the game screen up and then return to the Fail scene.
I added a reset game and a reset scene rule, but that didn't work either. DO I have to add a manual rule into the Fail and Pass hidden actors to stop everything in the Game screen for it to work?