Restarting Layout ... not really

0 favourites
  • 5 posts
From the Asset Store
2D fighting template based in the game that defined the fighting games genre.
  • I have an issue with a layout actually restarting. I would rather, it seems, the layout do a complete reset.

    Here is the issue. When Object-A collides with Object-B, the player dies. This pushes player to a "Your Dead" screen, which plays for 3 seconds and then takes you to a level select screen. The player (of course) selects the level that he just died.

    Now when the playable level loads, it is in a state of already started. Like it almost picks up where you left off. I have moved the loading of the Dead level and the restarting of the layout all over. So, the level never really restarts.

    <img src="http://dl.dropbox.com/u/20805039/restart.png" border="0" />

  • Could it be that since going to 'Dead' is above restarting the layout in the event, the restarting of the layout occurs after you have already gone to 'dead'? Just a guess.

  • Yeah, I already tried that. Same result.

    Thanks for asking though!

  • I have an issue with a layout actually restarting. I would rather, it seems, the layout do a complete reset.

    Here is the issue. When Object-A collides with Object-B, the player dies. This pushes player to a "Your Dead" screen, which plays for 3 seconds and then takes you to a level select screen. The player (of course) selects the level that he just died.

    Now when the playable level loads, it is in a state of already started. Like it almost picks up where you left off. I have moved the loading of the Dead level and the restarting of the layout all over. So, the level never really restarts.

    <img src="http://dl.dropbox.com/u/20805039/restart.png" border="0" />

    It doesnt make sense in order, because it goes to layout before the destroyed hornet.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Yes. As I said, the order has been moved around many times. That image was not a good representation perhaps.

    If I use Restart Layout > Go to Dead

    I get the same result.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)