Log In  

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

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.

P#81985 2020-09-19 09:55


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

P#81988 2020-09-19 18:10

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.

P#82021 2020-09-20 17:53

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-02-09 08:59:14 | 0.050s | Q:20