Weird "Change Scene" Bug...

So I'm making this game that's almost finished, and works perfectly fine except for one bug, here's what happens:

This game has a total of 6 levels to complete. Each of the 6 levels are in the same scene, as they each operate the same general way and don't need other scenes to work. There is also a Title Screen scene, a Game Over scene, a "get ready to start the level" scene, and a "you beat the level" scene.

Whenever I test the game out, the first level goes without problems and I reach the "you beat the level" scene, immediately followed by the "get ready to start the level" scene for level 2. However, once this scene changes to the actual level 2, there is one major problem. Whenever I die, the scene never changes to the death screen. When I beat the level, it never goes to the "you win" screen. When I MANUALLY change the scene with the scene menu at the bottom of the test player, nothing happens, even though it works perfectly fine in the first level. The game just stays at the level 2 scene no matter what. Keep in mind that the "change scene" programming is the exact same in every level. When I set the "level #" attribute default to level 2 (in which when I start the game the level is automatically 2), the game plays level 2 without problems, and level 3 never changes scenes.

I've tried everything that I can possibly think of, and the bug is ALWAYS there. Could this be a problem with the gamesalad software itself, or could I have make a mistake in the programming that I didn't catch? I really need to know what's happening.

Comments

  • SocksSocks London, UK.Member Posts: 12,822

    @JelindoGames said:
    Could this be a problem with the gamesalad software itself.

    Yes, possibly.

    @JelindoGames said:
    or could I have make a mistake in the programming that I didn't catch?

    Yes, likely.

  • JelindoJelindo Member Posts: 4

    Is there any specific thing I might have done to cause this?

  • SocksSocks London, UK.Member Posts: 12,822
    edited May 2015

    @JelindoGames said:
    Is there any specific thing I might have done to cause this?

    Besides the possibility that this might be a bug (unlikely, but not impossible), the likelihood is that the issue is caused by the way you have your code set up.

  • JelindoJelindo Member Posts: 4

    Fixed!
    I just deleted the "you win" scene and put all its actors in the main level scene.
    Everything works fine now!

Sign In or Register to comment.