Currency System within Gamesalad?
This is a very broad question, and in no way do I expect a full response
..
But, can anyone explain how to create a "currency" system within gamesalad?
I'd like to make it so that whenever game.MainScore gets another 100 points, add 1 coin to the total "moneybag" (or whatever). +To have that value stay in your "moneybag" when you re-open the application.
Any help will be seriously appreciated. Thanks!

But, can anyone explain how to create a "currency" system within gamesalad?
I'd like to make it so that whenever game.MainScore gets another 100 points, add 1 coin to the total "moneybag" (or whatever). +To have that value stay in your "moneybag" when you re-open the application.
Any help will be seriously appreciated. Thanks!
Best Answers
-
tatiang Posts: 11,949
Constrain Attribute game.moneybag to floor(game.MainScore/100). Then use Save Attribute and Load Attribute to store game.moneybag (and probably game.MainScore) on the device.New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User