Layouts start too early?

0 favourites
  • 2 posts
From the Asset Store
Every game developer starts with an idea, and it can come from anything:
  • In my game, there's two layouts. The menu layout and the actual game layout. I'm having a problem with this.

    While you're on the menu layout, the game layout already starts doing stuff. Like spawning tanks. By the time you hit the start button, you've already lost health and there's a bunch of tanks already on the screen.

    This is not acceptable.

    Is there anyway I can prevent this from happening? Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • SingularPixel

    Hmm, I could replicate something like that when the 2nd layout has "Every x Seconds" conditions and it seems like the first occurrence of that event is calculated using the amount of time since the start of the game(instead of from the start of the layout).

    How to replicate:

    Menu layout

    -[Condition] Keyboard-> On key press = Spacebar

    - [Action] System -> Go to game layout

    Game layout

    • [Condition] Every 3 seconds

    - [Action] System -> Spawn tank.

    Scenario:

    • Start the game.
    • Wait 3 seconds or more
    • Press spacebar.

    Observation:

    • First tank is spawned, without 3 seconds countdown.

    I'm not sure if it's the same problem.. but if it is, you could try something like this:

    <img src="http://img211.imageshack.us/img211/8721/97150102.png" border="0" />

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