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.

P#81985 2020-09-19 09:55

1

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

P#81988 2020-09-19 18:10

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

P#82021 2020-09-20 17:53

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 14:36:10 | 0.047s | Q:21