Free ActionScript

Flash AS2 & AS3 Tutorials, Game Code, Effects, Source Files & Sample Downloads

Game Engine – Minimap & Radar

This script shows you how to create a game mini-map or radar for your Flash games using ActionScript 2.0.

How this works:
The mini map is 25% scale of the actual map so we multiply the current minimap player position by 0.25 to get the 25% scale position.

Equation:
minimap.player._x = map.player._x * 0.25

Game Engine – Minimap & Radar

Download Fla Sample

Download Fla Sample

Drag Drop & Snap Inventory System

Update 11/03/08
Please see http://www.freeactionscript.com/2008/11/drag-drop-snap-inventory-system-v2/ for the latest version of the Drag Drop and Snap Inventory system.

Here is a prototype of my ActionScript 2.0 drag, drop and snap inventory system for flash games.

Drag, Drop & Snap Inventory System Sample

Download Fla Sample

Download Fla Sample