Log In  


Cart #kittypath-0 | 2020-09-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

Slight modification of my path finding method, except this method is now modified to allow an arbitrary size grid to be instantiated. I invite you to open it up and fiddle with the code.
The agent is the cat creature, and hopefully my code is readable enough. Simply changing the SIZE variable at the top should be enough to get a feeling for different grid sizes.

6


1

:D @gravitoid can I use this in one of my games?


@CandyColt_Games
Sure. Can you credit me? I'm really excited to have come up with this on my own. If you want, I can explain how it implement unless you find it already easy enough to pick apart.



[Please log in to post a comment]