Making a score based on height

studiocritystudiocrity Member Posts: 14
edited November -1 in Working with GS (Mac)
hi,
i'm making a kind of doodle jump based app with my friend and have run into a problem, we want the score to be based on how high the player gets, which we have achieved, however when the player falls back down again, so does the score, is there a way of locking the highest score in place?
Thanks!

Comments

  • MeinMilchKaffeeMeinMilchKaffee Member, PRO Posts: 114
    make a new attribute.. Highest score
    make a rule..
    If "score" > "Highest score"
    -----change attribute "Highest score" to "score"

    ?? I think this should work ;)
  • RHRH Member Posts: 1,079
    If I were doing something like doodle jump, I'd do something like this:

    edit:that won't work. it depends on how you are moving your character
  • studiocritystudiocrity Member Posts: 14
    Thanks for the help, the
    MeinMilchKaffee said:
    If "score" > "Highest score"
    -----change attribute "Highest score" to "score"

    worked perfectly
  • MeinMilchKaffeeMeinMilchKaffee Member, PRO Posts: 114
    no problem:)
Sign In or Register to comment.