Virtual coin in GameSalad with option of earn in game or in app purchase if cant virtual money

Hi!

Is possible make a game with virtual store that use virtual coin? If user cant buy a article, how make a conditional for say "you not have money, Buy only by 0,99$" How can make this?


take advantage of ask about tutorial of tables, do you know a tutorial of tables in gamesalad?

Thanks in advance!!

Comments

  • Cutscene EntertainmentCutscene Entertainment Member, PRO Posts: 138
    You can have an "integer attribute" called money, which determines how much money the player has. This is originally 0, and then every time the character overlaps or collides with a coin (if that's how they get money in the game), the attribute increases by 1. Thus when the character is in the store, you can have that attribute "money" displayed at the top of the screen or wherever, and whenever the character buys something it subtracts the cost of that from the character's "money". When the "money" reaches 0, the game informs the character that they are broke. Did I help?
Sign In or Register to comment.