A* Pathfinding (code below)


This code sample show you how tumbleweed framework implements pathfinding using A* algorithm. You can interact with this it:

Horizontal grid size (beetween 4 and 150)
Vertical grid size (beetween 4 and 150)
Percent of obstacle in the grid (beetween 0 and 90)

If you want to enable focus on the game, just click on it. Click somewhere else to disable it.

Game Focus: [OFF]

Development details are in the section below. Source code is on the right and the matching comments are on the left.