[AS2] Game Project Help
Hi. I'm making a game for a school project based on the attached .swf. I know how to emulate most of it but there are some questions I need help on.
- After clicking with the mouse, how do I make the ball head toward that position?
- the power bar. I have an idea of making several animations like "kick_hard" "kick _soft" etc and having the power bar separated into separate rectangles
like this _
l_l
l_l
l_l
so if the bar stops in the top block, "kick_hard" will play. if this is gonna work, how do I make the bar move when the position has been chosen?, how do I make the bar move at different speeds at different levels, and how do I make kick hard play if it stops in the top block?
- wind. how do I generate a random speed and direction and make it affects the way the ball moves?
- How do I determine if the ball has passed through the posts?
|