Keeping coins after levels
Hi, In my game you get so many coins for killing enemies and other stuff. after the level It says how many coins you got in the level, and then you go to the next level.
I want it so the coins don't go away strait afterwards. So how can I make it so coins add up after every level so you can buy things from the "shop".
I want it so the coins don't go away strait afterwards. So how can I make it so coins add up after every level so you can buy things from the "shop".
Best Answer
-
gamewizard99 Posts: 67
You could create another attribute called total coins. After each level you could add the number of coins earned in that specific level to the attribute total coins. Hope I helped.
Answers