Creating an interactive animation
So, I am making a game using flash and I have little experience with action script but I know I will need it for my idea.
I have started making a game about a scuba diver that goes under water to find underwater animals that she likes - it's a children's game.
My plan is to make it a side scrolling game and the scuba diver is directed with the mouse. I want the scuba diver to tilt in angles as it follows the mouse and if the mouse swaps directions, the scuba diver will do so as well.
I have already made my scuba diver on Flash as a movie clip with moving legs and arms. I need help actually coding the action script for the scuba diver to follow the mouse, change angle if the mouse is high or low and horizontally swap if the mouse moves back in the other direction.
Thanks!
If anybody has questions, please let me know. I am eager to make this game and finish it as soon as possible!