How do I load a game inside a game?

From the Asset Store
five golem elements Sprites Sheet.Best for enemy or villain game characters.
  • Hello,I have many games and I want to load a random (second) game after a point in the first game where I set a timer. After the second game is complete I want to return to the first game and the timer mustn't have stopped. Is there a way to do that?

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • sure there is. First thing that pops to mind is to have a variable called "timer_pause_time" or something. When you load the first layout, you check if it is 0. If it is, it's the first time you load it, and you're not returning from the "sub"layout I shall call it. If it's not, that means that you've returned from the sublayout and you start the timer from that time instead of the initially intended time. When you go to the sublayout, just set the timer_pause_time variable.

    sounds good? Hope it helps

    cheers

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