Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 1.11 KB

README.md

File metadata and controls

20 lines (12 loc) · 1.11 KB

Pathfinding

Simple 2d Pathfinding Algorithm for games using grid

Pathfinding on 2d aligned grid

This 2d Pathfinding system works on a 2d array-grid and can be up to 48x48 and more!

0 - Kopie

The size of this example is only 14x14 for experimenting. The higher the size of the grid, the higher is the performance cost. In this game example which is made in Heaps.io there can be added walls (obstacles) to re-route the path. This algorithm works for any game engine. It only has to be adapted properly!

1 - Kopie ezgif com-video-to-gif

Smoothness

You can also try 'smoothnes' for using diagonals and reducing performance cost

2 - Kopie

Watch Demo: https://www.youtube.com/watch?v=TP1xvGv1Gmc&t=11s