RSS

Minimap and Radar Math

Actionscript 3 | Posted on May 18 2012

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

Post a Comment