as2
Game Enemy AI - Run Away from Player
Flash ActionScript 2 game enemy AI. This script gives your enemies the ability to run away from the player.
Customizable Enemy Settings
- movement speed
- turn rate
- aggression range
Update
Check out the updated version of this script that incorporates different enemy behaviors in to one function, as well as creating multiple enemies at the same time: Enemy Behavior - Run Away & Follow Player
Game Enemy AI - Random Enemy Movement
Flash ActionScript 2 game enemy AI. This game engine creates a preset amount of enemies, gives enemies stats, and makes them move around randomly. AS2 code example available for download below.
You can set enemy behavior like:
- Roam Speed - Speed at which the enemy travels
- Roam Time - How long to move before changing direction
- Roam Distance - How many pixels to travel
Also check out the Game Enemy AI - Follow Player script.
ActionScript Enemy AI Example
Note 10/30/08:
Updated script to fix an error. Current version is 1.1.
Game Navigation Engine - Player movement
Game Navigation Engine Features
- 4 directional player movement
- Multi key press detection
- Player rotation
- Acceleration/deceleration
Preview
Dynamic Particle Explosions
ActionScript 2.0 Dynamic Particle Explosion engine for use in Flash games. Easy to customize effects. You can set a number of different settings to change the effects on the fly.
Preview
Smoke Effect - Particle Trailer
Here is a simple ActionScript 2 smoke trailer that can be used in games. You can attach this smoke straight to enemies or other objects to simulate damage.
Smoke Trailer Sample
See http://www.freeactionscript.com/2008/10/realistic-smoke-effect-particle-trailer/ for the latest version of the smoke effect.
CategoriesLinks |
