A brand new AS3 multiple barrel weapon system written using OOP.
Available Settings
- Number of Weapons – create multiple weapon platforms
- Number of Barrels – each weapon platform can have multiple barrels
- Weapon Rotation Speed – how fast the weapon rotates
- 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 barrel does the bullet starts
- Bullet Spread – how accurate does the bullet fly towards target
- Collision Detection – detect and respond to bullet collisions
Please note that this is the first version. It can be tweaked and optimized.
Preview
Update
Newer, better weapon script is available here:
http://www.freeactionscript.com/2011/08/advanced-weapon-system/

1 Comment »