Actor speed

IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
edited November -1 in Working with GS (Mac)
Hello!
I have an actor, player can control it, using the accelerometer (so the more player tilt, the faster actor moves). I would like this actor to move two times faster if he has 50% of health left.
I have a rule: if game.life is 50, then:
But I have no idea how to move further with this rule :)

Can anyone please help me?

Comments

  • IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
    uptimistik said:
    You can give this a try:

    Two Self Attributes: Speed 1 and Speed 2
    Put in the desired speed for each attribute

    Then on your Move rule set the speed as Self.Speed1

    and on your game.life rule put
    Move Speed2

    Thank you very much! After some work, it now works perfect :)
Sign In or Register to comment.