PDA

View Full Version : [AS3] Random Bullets


Shadow Porpoise
09-22-2009, 09:06 AM
I'm working on a side scroller for a class and I'm looking to make a "scatter-shot" type gun.

Pretty much what i need is for something to read how long the space bar is held down and then once that is determined, it creates a certain number of bullets. (longer held, more bullets)

Once the bullets are made, I want them to shoot out in random directions but travel in the general left direction. Any ideas?

Thanks