Log In  

Cart #33884 | 2016-12-22 | Code ▽ | Embed ▽ | No License
11

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.

P#33885 2016-12-21 19:17 ( Edited 2016-12-26 22:58)

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?

P#34227 2016-12-26 16:10 ( Edited 2016-12-26 21:10)

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.

P#34236 2016-12-26 17:58 ( Edited 2016-12-26 22:58)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 06:39:16 | 0.040s | Q:18