==============
Arrow keys: move cursor
Z: move player to cursor
Hi!
I did like to share a simple test with a simple pathfinding mechanism which i learned mostly from this website (Red Blob Games).
When opening the code, one could set the flooddebug var to true to be able to see how the pathfinding finds its route.
What i did like to know is the following: When choosing a path further away from the 'player' it takes quite some time to eventually finish the pathfinding. Is this some limitation tied to PICO-8, is it bad coding or a combination of both?
Thanks in advance and have fun.
Cheers!
Update
It seems the speed is just fine. Tho, turning on the flooddebug makes it slow again. I guess while developing the pico instance got i little bit slow.. or the computer i used (at work) is just weird.
Anyways, i updated the cart (to 1.1) with a target indicator :)
Update 2
Back at work now, reran the 1.1 version again. The speed seems indeed just fine. I'm not quite sure why it was slow yesterday, even with the flooddebug turned off. I guess it was just a process or memory bug/thing. Well, whatever :)
Update 3
Added v1.2 which has some more fancyness, like animating background, indicator and sound.
Check out Warlocked for Gameboy Color. ;)
This looks promising, keep it up!
Thanks for promising responses :)
@matt
The flooddebug option makes the process unintentionally slow. This is actually just fine as it's more easy to follow the actual process of the 'pathfinding ' algorithm.
I guess if it would show the process at the normal speed it would be difficult to follow.
[Please log in to post a comment]