Platform Help

Just started using Construct 2? Post your questions here

Post » Wed Jul 23, 2014 7:07 pm

Hello, i am making a platform game which you collect coins, but i want when you collected coins, and after finishing level, the collected coins don't be at their place if you play the level again. Can i do this?

Thanks
B
18
S
2
G
1
Posts: 67
Reputation: 1,339

Post » Wed Jul 23, 2014 7:28 pm

Use the persist behavior, See the example in the C2 templates.
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Wed Jul 23, 2014 7:37 pm

That was exactly what i'm looking for, thank you so much.
B
18
S
2
G
1
Posts: 67
Reputation: 1,339

Post » Wed Jul 23, 2014 8:31 pm

Hey, does it remember when exiting and relaunching the game, or should we add it a webstorage value?
B
18
S
2
G
1
Posts: 67
Reputation: 1,339


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 3 guests