How do I actually restart my layout?

0 favourites
  • 7 posts
From the Asset Store
Plugin Transition Layout C3. Layout opening and closing animation for C3. Quickly set up transitions between lay
  • I have lost of things in layout and somewhere I want to restart my layout but I don't know how this restart layout action work. It restarting layout in its current situation, There were some objects out of layout and during gameplay they are inside layout and lots of things. After restarting layout everything is still there current position. How can I actually restart layout where all objects reset to their starting position.

    Tagged:

  • Are you saving the game before you restart?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Try using browser-reload.

  • Thanks oosyrag

    browser-reload is exactly what I was expecting from Restart layout.

  • Try using browser-reload.

    Does browser reload work when exported to APK or IPA?

  • I'm not familiar with this regarding mobile exports, but there are additional reset actions in the system object that I'm sure would let you get the specific effect you want with little effort.

  • I have lost of things in layout and somewhere I want to restart my layout but I don't know how this restart layout action work. It restarting layout in its current situation, There were some objects out of layout and during gameplay they are inside layout and lots of things. After restarting layout everything is still there current position. How can I actually restart layout where all objects reset to their starting position.

    When you restart layout, if used alone, what happens all non-global sprites, reset in that layout as you designed them in the visual editor.

    However, if your objects have positions saved in dictionary, or by global variables, you have to reset those also.

    Like this:

    Reset global variables,
    Dicitonary clear xYz
    Array empty
    wait 0 
    Restart layout.
    

    hope it makes sense, and maybe helps?

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