Reset global variables

Get help using Construct 2

Post » Tue Dec 25, 2012 11:04 am

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.fumeque2012-12-25 11:06:16
Posts: 26
Reputation: 1,147

Post » Tue Dec 25, 2012 5:21 pm

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.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Posts: 6,998
Reputation: 57,791

Return to How do I....?

Who is online

Users browsing this forum: Kagubro, Yahoo [Bot] and 31 guests