Runtime pathfinder
[ December 17, 2003 ] by André Michelle
This demo shows how to reach any target in a tilemap maze. This version doesn't calculate a full path (like the A*, for example), but in each frame it decides the new direction to find the target. In most cases it is the shortest path and its always very quick (under 1ms). Just some rules must be followed in the maze design: no U formed tiles are allowed.


Download the source code of this prototype



 
 
Name: André Michelle
Location: Germany
Age: 31
Flash experience: Just dealing 5 years now with flash and can't leave my fingers off.
Job: Jointfounder of Extrajetzt, a german flashangency from Berlin,specialized on flashgames.
Website: http://www.andre-michelle.com
 
 
| Homepage | News | Games | Articles | Multiplayer Central | Reviews | Spotlight | Forums | Info | Links | Contact us | Advertise | Credits |

| www.smartfoxserver.com | www.gotoandplay.biz | www.openspace-engine.com |

gotoAndPlay() v 3.0.0 -- (c)2003-2008 gotoAndPlay() Team -- P.IVA 03121770048