Adding a rule for score increase as time passes
lpetrowicz
Member Posts: 12
I am trying to find the rule for adding points to your scores after so much time passes. Anyone have an idea. Thanks in advance?
Comments
Change attribute game.score to game.score + 100
Like that?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Next, When I click +Timer, I am unable to type attribute in the behavior area. Any thoughts? Thanks for the help.
game
Devices
Bob
(Devices attributes are also game attributes, by the way. Scene attributes only appear when an actor is unlocked.)
To create a game attribute, you have to look in the attribute browser and click the '+' button. On a Mac, that looks like this:
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Actually . . . as a bit of code, this is much better:
Timer every 5 seconds
Change attribute game.score to game.score + 117
With my version you get 17 more points every 5 seconds.