Animating main player to shoot while walking
butterbean
Member Posts: 4,315
I've animated my main character to shoot and hold out the weapon while standing still, but when walking, and shooting it looks glitchy, where do I place the animation piece while she's walking/running and shooting?
Comments
If walking = true and space bar is down
Animate "walking+shooting"
If walking = false and space bar is down
Animate "shooting""
Just gonna take more graphics work on your part.
So if I already have the rules for walking right, walking left, and shooting, then I need to create a separate rule like you said above, and create the animations for walking/shooting right?
What is the spacebar key for? That one I use for jumping at the moment, so I can just replace that with the shooting button I have declared which is right shift?
Thanks!
Space bar was just the key I used for shooting, but (obviously) you can replace it with anything.