adding animation to ducking???
Hipster_Owl_Studios
Member, PRO Posts: 214
so i made my charecter duck now im trying to add animation pretty much a drawing of my charecter ducking so how can i add when my charecter ducks switch to this drawing idk if i made much sense but i hope this helps u understand. thanks!
Comments
When you apply the behavior "when (lets assume keyboard) is down" add the animation behavior and put in the frames of your character ducking.
[Character Actor]
>When (keyboard) is (down)
>Animation
->frame 1, frame 2, frame 3 (or however many frames of animation you made for the ducking sequence)
If you dont it will just stretch the smaller image to the same size as the main one.
Or if it is transparent above your collision could be all off.
If you want to keep it simple (its sounds like you just one one picture) you could just use the one pic you have.
Rule
when down key is pressed
change image to ducked.png
OTHERWISE
change image to main.png