I'm using MMF and I have this character that shoots with a bow. The shooting animation is two frames (both the same, to make the animation longer). THe problem is if I press the shoot button too fast, the animation gets stuck, and the character doesn't go back to stop until she moves. How can I prevent this?
And I have some alignment problems. I have this other character who uses a dagger. In the stop animation she doesn't have it out. So the attack frames are bigger than the stop frames, causing her body to move back when she attacks. How can I fix it without enlarging and aligning every single frame by hand?
Anyone know how to fix these problems? Thanks in advance for help
I'd do when animation shooting is over change animation to stopped (or whatever the normal one is).
I actually had your second problem myself, so I don't know if this is the "correct" way to do it, but this is how I went around it.
First, you need to decide which frame of animation will be your largest (like the girl while holding the dagger out as far as it will go would be the widest possible picture).
The trick is to make ALL of your frames the size of the largest frame that you'll use. In CotG2, Daxon's highest point is when he reaches up with his sword on the way to a swing to attack. In order to get all the picture's aligned with each other, I had to use the same size "box" to draw ALL of his possible animations that tall. Sure, for most of them it's a lot of blank space, but it works at least.
The other thing you could do is have the weapon be a separate object. This works too, but the problem here (for me at least) is sometimes the weapon will be a bit "off" at times. I used this technique for the first Captain of the Guard, and sometimes the weapon would either appear or disappear a split second before it was supposed to. Even with the "Always set" events it still happened from time to time.
I suggest using the "draw all animations in the same sized box as your largest animation will be" method because it will look better in the long run.
--
"Del Duio has received 0 trophies. Click here to see them all."
"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"
DXF Games, coming next: Hasslevania 2- This Space for Rent!
The animation stuck problem appears when you restart an animation exactly when it ends... Restoring the animation or changing it when it ends fixes this