ID:891390
 
So, I've been working on a tower defense game for the past few days and I'm nearly done(sans graphics), however I'm at a loss on how to keep spawned mobs following a track. I've tried having them change directions when entering an area, but that brought up a few problems thanks to pixel movement(example). I would very much appreciate help.
Cloud Magic wrote:
Check out this lib:

http://www.byond.com/developer/Theodis/Pathfinder

Thanks, but A* seems a little above my skill level at the moment, haha. Is there any other method, preferably for moving down a predetermined route?
Honestly, pretty much everything about it confuses me, haha. I don't understand how it works from reading it, and even with the demo I'm still not sure how to utilize it.
Chech out my path setting library. It should work perfectly for this.

http://www.byond.com/developer/GreatFisher/Path_setLibrary