Free Game Design Scripts For Flash
Philip Radvan has created an amazing resource of FREE game related .fla examples to download and use however you like! This one gets two thumbs up from me. There are some excellent scripts under the effects category which I have personally used (non-game related).
Go check it out here:
http://www.freeactionscript.com/game-scripts/
Here are the AS2 links: (there are a few as3 scripts on his site).
- Laser Hitting Solid Objects & Walls
- Projectile Weapons: Pistols, Shotguns & Machine Gun – v3
- Heat Seeking Missiles/Rockets/Torpedoes
- Lightning/Laser/Beam/Pulse Gun Effect
- Simple Laser Weapon
Effects Animated
- Simple Flashlight Effect
- Explosion Effect
- Sparkle Effect
- Random Blood Splatter Effect
- Smoke Effect – Particle Trailer
- Engine Trailer – Engine Particles
Effects Dynamic
- Endless Parallax Scrolling (star field)
- Bubbles Effect – Water, Beer, Liquid
- Realistic Water & Wave Effect
- Realistic Snow Fall & Snowflake Effect
- Realistic Dynamic Explosion Effect – Bitmap
- Particle Explosion – Bitmap
- Particle Explosion with Gravity – Bitmap
- Mouse Trailer – Bitmap
- Mouse Trailer with Gravity – Bitmap
- Realistic Smoke Trailer – Bitmap
- Realistic Vertical Smoke Trailer – Bitmap
- Shake Effect Script
- Apply Filters using ActionScript
- Realistic Smoke Effect
- Realistic Vertical Smoke Effect
- Dynamic Particle Explosion
Enemy AI Engine
- Multiple Enemies – Run Away & Follow Player
- Random Movement & Random Direction Change
- Simple Random Enemy Movement
Game Engine
- MovieClips Pushing MovieClips
- Parallax Movement Effect
- Car Movement: Acceleration, Braking, Turning & Reverse
- Smooth 4-way Player Movement with screen-wrap
- Multiple Key Press Detection
- Get Closest MovieClip/Object (Target)
Images/BitmapData
- Pixel Perfect Collision Detection
- Center Bitmap Inside MovieClip
- Attach Bitmap Image Dynamically
Interface
- Dynamic Tooltip
- Smooth Window Resize, Move and Hide
- Drag, Drop, and Snap Inventory System v2
- Game Minimap & Radar
Math
- MovieClip Rotation Around Point
- Rotate MovieClips toward Mouse
- Get Radians & Degrees
- Distance Between 2 MovieClip Objects
Security
Sound
