I have a Character sprite. For that character, I have a series of frames depicting a Superleap to GroundBash sequence.
He squats, then leaps, is in mid-air, is about to land, and ends in a squat as he punches the ground. That's 6 different frames that I will duplicate in order to create a 48 frame sequence.
I need to figure out how to do the following three things:
1. When the character is clicked on with the mouse, the sprite changes to the SQUATTING frame.
2. While the mouse button is held down, a partial arc appears from the sprite (a la Angry Birds) that shows the sprite's direction and angle of movement when the mouse is released. The arc will change shape and direction, depending on how the mouse is dragged while the Left-mouse button is held.
3. The sprite frames need to move along the movement arc, aligned so the certain frames are aligned properly.
Here is a diagram of what I mean:
<img src="http://i1074.photobucket.com/albums/w414/RogerCotton/SuperLeap.jpg" border="0" />
Any suggestions on how any one of these three things can be accomplished would be appreciated! Thank you.