Reset global variables

0 favourites
  • 2 posts
From the Asset Store
Globals 2.0
$3.99 USD
Globals 2.0 stores and group variables. You can also load and save data (variables) from/to JSON files.
  • Hello Friends, I have a problem.

    In the game you stoy doing when I give the replay button, I want to reset, global variables, but does not.

    The game is a ball that is accelerating, and every time you play continues to accelerate, and not starting from scratch, and the third time you play, there are two balls, so more and more.

    I have put variables like this:

    • Give the replay button is reetee glovales variables.

    -After the ball appears (spawn another object)

    • And appears in a position (Set Position to)

    Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Post a capx to see how you implemented things so far.

    There is a system action "Reset global variables" though.

    If in your start of layout you set the speed value of your ball to the value of the global variable you reset it should probably help.

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