naive A* pathfinder algorithm
place walls with left click, right click to remove walls
move the donut with the arrows
make the monster move according to the pathfinding with X
show the path computation with Z
P#81744 2020-09-12 16:57 ( Edited 2020-09-12 22:33)
by -max
A simple shooter game I wrote to learn pico8 some time ago, I most likely will leave it as is even though it's not super clear what's going on in terms of animation and the game's too hard.
Code's very not clean I never refactored anything and just went with it.
For the asteroid and ship sprites, I used magicavoxel and spritestack studio then exported in spritestack the animations as sprite sheet to import that in pico8.
Enjoy!
P#81618 2020-09-08 19:33 ( Edited 2020-09-09 09:42)