[Request] Except reset global variables

0 favourites
  • 4 posts
From the Asset Store
Globals 2.0
$3.60 USD
10% off
Globals 2.0 stores and group variables. You can also load and save data (variables) from/to JSON files.
  • Reset global variables

    Reset all the global variables in the project to their initial value.

    I wanna have an except function which allow it to keep chosen variables while other would be reseted.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Couldn't you parse the global variables you wanted to keep into local variables and then restore them from that after your reset action?

    Regardless, I would also like to see this feature, I've never tried what I suggested above and often have to manually state each global variable, just save to one or two that would be reset via reset all.

  • Couldn't you parse the global variables you wanted to keep into local variables and then restore them from that after your reset action?

    Regardless, I would also like to see this feature, I've never tried what I suggested above and often have to manually state each global variable, just save to one or two that would be reset via reset all.

    Thx. Good idea.

  • Local variables doesn't work, but over webstorage or arrays. If you found it out, please upload a capx.

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