Coin System
Brittg2000
Member Posts: 3
Hi Everyone,
I have a coin system set up to every time a coin is collected game.score goes to game.score+1, but what I want is for these coins collected to be put into an overall "wallet" or "money" system that can buy things in the store I've set up, right now they just add to the high score but I want them to be able to buy things.
Answers
Just use the high score to buy things, it's all just numbers.
I'm guessing that you have other things that add to the score besides the coins. If so, make a separate attribute called game.coins and only add the coins to that attribute. Then add the other scores to game.score so that you keep them separate.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
If you decide to reject an answer, it helps us to know why. Can you explain a bit more about what you're trying to do or -- for example -- why my suggestion didn't answer your question?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Agreed, it helps people offer alternative solutions to know why answer A or B didn't work out.
@Brittg2000