Make actor roll and dash

I am trying to get my actor to shrink by half and accelerate when a button is pressed. This would be like the sonic the hedgehog when he turns into a ball and dashes.

Answers

  • grimtoothgrimtooth Member Posts: 69

    -Group
    -Rule
    -When Keypress(Dash)
    -DO:
    -Timer
    -For (X) seconds

    -Rule
    -When FaceRight(TRUE)
    -Change Size (-2)
    -Move
    -Direction 0
    -Speed of (Faster than regular movement speed)
    -/Rule

    -Rule
    -When FaceRight(FALSE)
    -Change Size (-2)
    -Move
    -Direction 180
    -Speed of (Faster than regular movement speed)
    -/Rule

    -/Group

    yea this kinda works... except the actor doesnt grow back to normal size at the end lol
  • grimtoothgrimtooth Member Posts: 69
    After messing with this last night... I really think it would be better to use 2x non-looped animation sequences (left and right) instead of the change size argument... You'll have a more customized looking dash and less problems implementing it

    Grim
Sign In or Register to comment.