Help please

Get help using Construct 2

Post » Fri Mar 10, 2017 3:34 pm

Hello, Im making a game with levels and coins. So i got a main menu, And a game.. But if i got coins on the game it doesnt save it if i go to the main menu, And the ''save'' option doesnt work for me because it saves the game and i only want it to save the coins... Is there a way to fix this?
B
3
Posts: 1
Reputation: 177

Post » Fri Mar 10, 2017 4:10 pm

Are you resetting persistent objects when you go back to the game?

Why are you going back to the main menu after a game is ended?

If you mean you want to save a score that is a whole different question.
Banned User
B
27
S
7
G
58
Posts: 1,229
Reputation: 34,800

Post » Fri Mar 10, 2017 4:59 pm

You can use Global Variables to save coins between layouts.

You can use local storage to save the amount of coins you collected.
I'm using local storage to save score.

https://www.scirra.com/manual/188/local-storage
Follow my progress on Twitter
or in this thread Archer Devlog
B
41
S
18
G
18
Posts: 1,024
Reputation: 13,345


Return to How do I....?

Who is online

Users browsing this forum: dop2000, wertt22 and 6 guests