How do I stop a specific variable from resetting

Get help using Construct 2

Post » Mon May 12, 2014 6:49 pm

I've got a global reset for when the played falls of the screen but I also have a currency and a shop but my problem is that it keeps resetting the money variable
B
2
Posts: 1
Reputation: 253

Post » Mon May 12, 2014 8:17 pm

Samirno wrote:I've got a global reset for when the played falls of the screen but I also have a currency and a shop but my problem is that it keeps resetting the money variable


What I personnally do:

I use a dictionnary to store the data that should not be reset by this action, reset every variable, then restore that value
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Mon May 12, 2014 8:18 pm

Do you have a screenshot of your events? What kind of variable(s) do you use to keep track of money? Do you use multiple layouts?
ImageImageImageImage
B
62
S
19
G
51
Posts: 633
Reputation: 30,826


Return to How do I....?

Who is online

Users browsing this forum: rayolf and 24 guests