The web site for Flash ActionScript 3.0 game developers

 
         
   

Shooting an object with different degrees of power

Hi,

I'm going through the tutorials in Chapter 5 of the book AS3 Game Prog Univ, and I was wondering if there's a tutorial on creating a shooter (or a canon of some kind), that can shoot in different degrees of power. So for instance, if the spacebar is the key to shoot a bullet, holding down the spacebar longer would generate a stronger power to shoot the bullet. Is there a forum discussion/tutorial on this?

Any help is appreciated!

Thank you,

TF



Copyright Gary Rosenzweig