How do I store data on all layouts

Get help using Construct 2

Post » Tue Apr 01, 2014 11:56 pm

Suppose I won $3 on level 1 (layout 1), and on level 2 (layout 2) there is a store I am intersed to buy.
But when I get to the new store I have no money.

I want to store the money on instance variables but when i get to a new layout, the instance variable resets,
I think this can be done using the dictionary but im not sure
B
26
S
8
G
2
Posts: 19
Reputation: 2,469

Post » Wed Apr 02, 2014 1:07 am

You can just make a global variable it will stick throughout all layouts.
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,848

Post » Wed Apr 02, 2014 9:39 am

Remember to post these kinds of questions in Beginners forum.
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306


Return to How do I....?

Who is online

Users browsing this forum: max2612 and 33 guests