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.


@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]