A brand new AS3 multiple barrel weapon system written using OOP.
- 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.
Newer, better weapon script is available here: