AS3 update to my AS2 projectile weapon script. Features click-to-shoot (machine gun), collision detection, bullet gravity.
Available Settings
- Bullet Speed – how fast the bullet travels
- Max Distance – how far the bullet can go before dying
- Reload Speed – how long it takes to reload the weapon
- Barrel Length – how far from player does the bullet starts
- Bullet Spread – how accurate does the bullet fly towards target
- Gravity – gravity on/off
Preview
Update
Advanced multi-barrel OOP version of this weapon script is now available here:
http://www.freeactionscript.com/2011/08/advanced-weapon-system/

No Comments »