PostRobcore // Blog // Games // YouTube // Twitter // GitHub

Click on a cell!

Walk Pathfinding Test

Move Points: Obstacles:

What is this

I love turn-based tactics style games, and I haven’t had much luck recently figuring out how to highlight moves for a given cell.

This isn’t very polished and the algo is pretty inefficient, but it’s functional and I’m pretty happy about that.

It is not an implementation of A*, and will not show the player the shortest path or anything like that. But it does highlight all reachable cells within k units of the origin.

Can I get that Source

Ctrl + U and check out the raw page.