Game Engine
This is version 3 of my Flash game projectile weapons script. It is totally rewritten & optimized to support multiple weapons, multiple enemies & collision detection. All the functions are encapsulated for easy re-use.
Features:
Weapon
Number of bullets
Bullet speed
Bullet age
Reload speed
Weapon Management
Weapon Database
Weapon Database Search
Equip Weapon Function
Reload Weapon
Create Bullet
Update Bullet
Destroy Bullet
Enemy Management
Create enemy
Enemy Collision Detection with Bullets
Destroy Enemy
Download Fla Sample
Tags: AS2 fire bullet , AS2 Game Engine , AS2 machine gun weapon code , AS2 shoot weapon , AS2 shotgun weapon code , Dynamic Bullets , dynamic enemy collision detection , dynamic weapons in flash , Flash Game Engine , free shooter game source fla , Making a machine gun weapon in flash , Making a pistol weapon in flash , Making a shotgun weapon in flash , Making projectile bullets in Flash , multiple enemy hit detection , multiple enemy hittest , Shoot Bullet toward mouse
This script shows you how to make movieclips push each other without using complicated trigonometry.
Objects push each other based on mass, speed and direction of travel.
Download Fla Sample
Tags: ball collision reaction , balls pushing balls in actionscript , balls pushing balls in flash , collision reaction , Flash Game Engine , Making a movieclip push other movieclips , movieclips pushing each other in ActionScript , movieclips pushing each other in AS , movieclips pushing each other in Flash , pushing movieclips in actionscript , pushing movieclips in flash , pushing objects in actionscript , pushing objects in flash
This is a fla example of my parallax engine. Can be used in top-down space shooters or side scrollers with a little work (just remove the y movement from the code).
Preview
Download Fla Sample
Tags: AS2 parallax effect , AS2 Starfield , Flash Game Engine , Flash Parallax Effect , Flash space shooter engine , Parallax Movement Effect , parralax movement , space shooter , space shooter actionscript , Top-down game engine