Still Animation
butterbean
Member Posts: 4,315
I have walking animations for my character when she walks left and right, but I want to add an animation to her when she's standing still, where would I place the attribute for this?
I need it for her standing still both facing left and facing right
Thanks!
I need it for her standing still both facing left and facing right
Thanks!
Comments
I have a left key rule with animations for walking left, a right key rule for animations walking right, and followed the platformer template on movement, but where exactly would I place the still animation portion?
Would I create a separate rule for still animation?
what do you mean by "she was moving strange" ?
Normally if you put the animation-behaviour into an actor, clicking loop, the animation will play all the time...
So i think there must be another rule that prevents your animation from playing...
Maybee you can upload some screenshots of your actor-rules?
Or you could test the animation-behaviour in an empty scene just to see if you have done anything wrong?
cheers
SDMG
Seems like you just add an "animate" feature to the actor to loop through the animations you want, and then add 2 different rules (one for when key Left is down and one for when key right is down) and have separate animations inside of those rules. Or perhaps you can have a timer inside of a rule that says "When left and when right are in the up position" than change animations. just put the timer at some small number to where it isn't noticeable, like 0.2 seconds or something.
I also was able to smoothly add a shooting animation, when the right shift key is pressed, she aims, and I'm also working on walking and shooting animation as well.
I think I'm having trouble with the still animation because of the rules implemented from the template platformer, and under the "otherwise" it says to have the actor facing right if you look at the template.
I think that might be interfering but not sure!?
I'll keep trying, in the meantime, has anyone else followed the template for the platformer in GameSalad, and also added a still animation?