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

No Comments »