Scoring based on movement upwards

TheodiTheodi Member Posts: 96
edited November -1 in Working with GS (Mac)
Hi everyone, does anyone know how I would go about setting up a scoring system which is based on movement upwards. Like papi jump your score goes up the more you move upwards.

Any help appreciated,

Comments

  • old_kipperold_kipper Member Posts: 1,420
    Have a game attribute that is changed by an actor rule referencing it's self position. Something like-

    if self position x is greater than game attribute score then change game attribute score to self position x

    hope that helps. It should be pretty easy to set up and you can make a formula to change and check the score attribute to what ever you want with simple sum in the check and change rules
  • TheodiTheodi Member Posts: 96
    Thanks kipper ill give this a go, still new so might need some more advice!
  • TheodiTheodi Member Posts: 96
    Hi so I'v made a game attribute Interger called Score, Iv put on the actor If self position x is greater than game.score then change game.score to self.position.x

    nothing happenes though when i test, am I doing something wrong?
  • old_kipperold_kipper Member Posts: 1,420
    add display text to the actor and see what self position is reading and add a second actor that displays the game score. It should help with debugging and might bring something up. I can't see what you have done or am at a machine where I check the rules for myself, but you must be close to sorting it. I am sure there is someone here who can help you out and has access to a machine. Perhaps post an image of the actor rules you've done.
  • TheodiTheodi Member Posts: 96
    Iv got a display text already which works fine when actor collects bonuses along the way. It reads self position as 0 though.

    Got to go out now, but if anyone can help would be great.

    Thanks again kipper
  • old_kipperold_kipper Member Posts: 1,420
    You have not got the self position reading correctly if the actor is moving and it stays at 0
  • JadarStudiosJadarStudios Member Posts: 264
    are you using the new 0.9.3 update? if so, I think it is a bug. I've had somewhat of the same problem, of it not reading out the correct position....
  • TheodiTheodi Member Posts: 96
    Hi jr yea im using the new update.
  • SAZ_1SAZ_1 Member Posts: 397
    yea i was going to say im pretty sure thats a 0.9.3 bug.. we've all just got to be patient the devs are working on it
  • TheodiTheodi Member Posts: 96
    Hopefully a new release will be soon then
Sign In or Register to comment.