This sample code shows how to make a simple maze game it uses a map and sprite flags to check for collisions with walls.
Use direction keys to walk. Get the to the cheese.
Hey man,
Please, how do I access the p8 file, I do not understand what you mean by flags and tiles on the map because I can not see them. I can not access your sprites, I can read the code but I can not download anything else, like the p8 file.
Would you mind please share?
Dagger, use the Copy link, then select it and copy (i.e. command-C). Then open Pico-8 console and type "LOAD @CLIP". Now all the code and assets will be visible for you. The flags are buttons on the sprites.
[Please log in to post a comment]