How to add +10 to every 10 game score integer?
foofooarmy@gmail.com
Member Posts: 49
Hey Everyone,
So I am trying to make a store in my game. So I want to make it so every 10 score it gives game.money(integer) 10 more dollars if game.score = Any multiple of 10. Also how would I display the money with "Display Text"?
Thanks in advance
Foof
So I am trying to make a store in my game. So I want to make it so every 10 score it gives game.money(integer) 10 more dollars if game.score = Any multiple of 10. Also how would I display the money with "Display Text"?
Thanks in advance
Foof
Comments
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
rule= when score=bonus (score=10 = bonus=10)
change money to (money+10)
and change bonus to (bonus+10), this look like score=10 and bonus=20 so you will need every other 10 to give a bonus.