in game: getting upgrades based on points?
Dooki
Member Posts: 247
For my game I'd like to be able to upgrade my actor based on score. For example my actor walks for now and can upgrade to riding a bike, and then a car, etc.. Is this fairly simple in GS? I pose the question because I am still learning GS.
Thanks!
Thanks!
Comments
Rule
When game.status=0
----Put all walking behaviors here
Rule
When game.status=1
----Put all running behaviors here
Rule
When game.status=2
----Put all riding behaviors here
Then have a rule that says
Rule
When game.score<10 or whatever
Change attribute game.status to 0
Rule ALL
when game.score≥10
when game.score<20 or whatever
change attribute game.status to 1
etc.
good luck!
This is great info! Doing it this way I could set it up like in PvsZ that when you hit a certain score I could spawn an image of what the upgrade will be ( a bike for example). Then the game can launch the game level that has my guy on a bike. This sound correct?
Thanks!