PDA

View Full Version : [AS2] Game Project Help


rkent4583
01-22-2004, 10:08 AM
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?

phoolish
01-23-2004, 11:56 AM
Don't see the fla file attached? It sounds like a cool project and I would love to see the end result/fla. Cheers!

rkent4583
01-24-2004, 08:50 AM
umm all i have is an example swf