Help with Scoring
scitunes
Member, Sous Chef Posts: 4,047
If you clicked on this thread for dating advice you are at the wrong site! :-P
Anywho...
I am trying to make a doodle jump type game (with a few weird and hopefully fun twists) and I am trying to think of a way to do the scoring. I want the score to be based on how high you get, but I don't want to simply display the Y value for the main actor because then it will go up and down with each jump. I would like the score to calculate the max Y of the actor. Then when you get to the next level this value needs to be stored so you can keep adding to it.
Any ideas on how to do this?
Anywho...
I am trying to make a doodle jump type game (with a few weird and hopefully fun twists) and I am trying to think of a way to do the scoring. I want the score to be based on how high you get, but I don't want to simply display the Y value for the main actor because then it will go up and down with each jump. I would like the score to calculate the max Y of the actor. Then when you get to the next level this value needs to be stored so you can keep adding to it.
Any ideas on how to do this?
Comments
create an attribute called Score
then create a rule:
when player.Y > game.Score
update attribute game.Score = player.Y
in theory, every time the Y value goes above score, it'll update.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Thanks a lot!