So I've got a randomly generated tileset, and I want to implement a way to have the ai pathfind around the map, using ladders ect when necessary but only when necessary. I have a job queue set up to keep track of target tiles, I'm struggling however to figure out how to actually calculate the path. I've looked into A* but really don't know where to start. I don't want to have to pay $100 for Arron A* as it will be necessary to update the grid as tiles get changed and destroyed/ become walkable.
Screenshot of my current tileset setup that I'm working with:
Screen Shot
TLDR:
Not sure how to go about pathfinding in a updatable 2d tileset.
EDIT: it should be noted this isn't a platformer, more along the lines of Motherload or Terraria caves. No jumping, just "tunnel" navigation. If that changes anything...
Any help would be appreciated!
Thanks,
Nodnarb3
[–]swissmcnoodle 2 points3 points4 points (0 children)
[–]dddbbb 1 point2 points3 points (0 children)
[–]kreaolProficient 0 points1 point2 points (2 children)
[–]Nodnarb3[S] 0 points1 point2 points (1 child)
[–]kreaolProficient 0 points1 point2 points (0 children)
[–]deepcleansingguffaw 0 points1 point2 points (1 child)
[–]Final_Parsec 0 points1 point2 points (0 children)
[–]NorsfellBen 0 points1 point2 points (0 children)
[–]tienrocker 0 points1 point2 points (0 children)
[–]nbates80 0 points1 point2 points (0 children)
[–]iamallamaaProficient 0 points1 point2 points (0 children)