of course you can! ^^ That's why i posted it anyway ๐ (I'll add it to the description)
If you want to have a clue on how it works: basically, it's a rudimentary light emission (tile by tile) stored in a 2d array, (and the light is stopped by the walls). And objects can see in the grid which tile have a higher or lower value (to choose to get closer or further)
โ Return to Experiment
Comments
Log in with itch.io to leave a comment.
I really have no clue of pathfinding. May I use yours?
of course you can! ^^
That's why i posted it anyway ๐
(I'll add it to the description)
If you want to have a clue on how it works:
basically, it's a rudimentary light emission (tile by tile)
stored in a 2d array, (and the light is stopped by the walls).
And objects can see in the grid which tile have a higher or lower value (to choose to get closer or further)