Currency System within Gamesalad?

ShineHouseGamesShineHouseGames Member, PRO Posts: 100
edited April 2012 in Working with GS (Mac)
This is a very broad question, and in no way do I expect a full response :D..

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

  • tatiangtatiang Posts: 11,949
    Accepted Answer
    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

  • BSideGamesBSideGames Posts: 392
    Accepted Answer
    I made a quick demo for you, email me at bsidegames@gmail.com
Sign In or Register to comment.