flash game effects

Simple Flashlight Effect

Friday, January 16th, 2009 | Effects Animated, Game Examples AS2 | 1 Comment

Here’s a very simple Flash flashlight effect that uses almost no ActionScript. The only AS used is for rotation and key detection.

The effect is archived with a mask and a filter. The filter is a simple gradient fill, same color as the “dark”. One side the alpha is 100, the other size alpha 0. Both the mask and the filter are the same shape and size (I’m using the same movieclip actually). To make everything work, you have to rotate and move the filter and mask at the same time (along with the player).

Preview

Download Fla Sample

Download Fla Sample

Also note the center registration point for the filter, mask and player. Make sure everything is aligned or the effect will break.

Tags: , , , , , , , ,

Animated Explosion Effect

Sunday, December 14th, 2008 | Effects Animated, Game Examples AS2 | 1 Comment

Animated Explosion Effect

Download Fla Sample

Download Fla Sample

Tags: , , , , , , , , , , , ,

Sparkle Effect

Monday, December 1st, 2008 | Effects Animated, Game Examples AS2 | 3 Comments

A simple animated sparkle effect. You can easily change settings to customize the look.

  • sparkNumber - number of sparkles per click
  • sparkDistance - offset distance from click
  • sparkSize - particle scale
  • sparkAlpha - particle alpha

Sparkle Effect

Download Fla Sample

Download Fla Sample

Tags: , , , , , , , , , , , , ,

Random Blood Splatter Effect

Saturday, October 25th, 2008 | Effects Animated, Game Examples AS2 | 5 Comments

AS2 random blood splatter script. Click anywhere to add random blood splatter. You can set the amount of particles you want to add with each click. You can also change the splatter range.

Preview

Download Fla Sample

Download Fla Sample

Tags: , , , , , , ,

Dynamic Particle Explosions

Sunday, August 24th, 2008 | Effects Dynamic, Game Examples AS2 | 1 Comment

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

Download Fla Sample

Download Fla Sample

Tags: , , , , , , , , ,

Engine Trailer - Engine Particles

Saturday, August 23rd, 2008 | Effects Animated, Game Examples AS2 | 1 Comment

Here is a simple ActionScript 2 engine thrust trailer that can be used in space games.

Engine Trailer Particles Sample

Download Fla Sample

Download Fla Sample

Tags: , , , , , , , , , , ,