Money system?

Get help using Construct 2

Post » Sat Jun 01, 2013 1:48 pm

I have problem with money system. Money works in one layout, but i need to transfer that number to multiple layouts. Money is stored in WebStorage plugin as local value. I also need to save the number once the layout is closed.
B
16
S
5
G
4
Posts: 74
Reputation: 3,301

Post » Sat Jun 01, 2013 2:41 pm

Hi @Sollaano,

I think I understand you're question, and you'll need to create a global variable that holds the overall money total. You can then use this in every layout, allowing you to keep track of all the money you've collected.

You should be able to use the WebStorage plugin to save global data between sessions. Blacksmith2013-06-01 16:10:26
B
33
S
6
G
7
Posts: 494
Reputation: 8,252

Post » Sat Jun 01, 2013 3:48 pm

@Blacksmith

I did what you said and now it works. Thanks for your help
B
16
S
5
G
4
Posts: 74
Reputation: 3,301

Post » Sat Jun 01, 2013 4:00 pm

@Sollaano.

No problem, happy to help :)
B
33
S
6
G
7
Posts: 494
Reputation: 8,252


Return to How do I....?

Who is online

Users browsing this forum: jpstudio, just2pale and 5 guests