I was thinking of using a sort of tile engine for it, and was going over the code in my head and then I got stuck when thinking about the AI
How would I go about implementing pathfinding? I've heard about A* and understand the concept, but not how I'd implement it.
Also it seems like the process would be fairly expensive if I was using it for 5 or 6 monsters simultaneously.
My question is, what kinds of pathfinding could I use? and how would I go about implementing them?
Could I get some code samples of how I'd go about using the A* pathfinding method?
Edit: I probably should have made this in the AI forum xD
Edited by littletray26, 28 June 2012 - 05:45 PM.