Store stats from previous level?

Get help using Construct 2

Post » Thu Mar 15, 2012 8:21 pm

How I store stats from the last level? Like "power up", gold, weapons, etc? Please, I need to know this, I'm making a big project.
B
20
S
2
G
1
Posts: 32
Reputation: 1,997

Post » Thu Mar 15, 2012 9:10 pm

Make global variables and store the stats in them and you'll be able to access them from the entire project and they'll retain whatever change you did last.
B
73
S
20
G
10
Posts: 524
Reputation: 9,896

Post » Fri Mar 16, 2012 2:34 am

Can you help me with an .capx example? I'm new at this, and very newbie with "variables"... Thanks!
B
20
S
2
G
1
Posts: 32
Reputation: 1,997

Post » Fri Mar 16, 2012 11:26 am

You should have a look at the Beginners Guide, and the Manual: Event Variables.
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Thu Jul 11, 2013 6:24 am

Try using WebStorage, XML, Array or Dictionary plugin. See the plugin manual for details.
Banned User
B
15
S
3
G
3
Posts: 74
Reputation: 3,070


Return to How do I....?

Who is online

Users browsing this forum: Colludium and 25 guests