pico-8 install: https://drive.google.com/drive/folders/1Z89zuvt-0Fl6fMpKub6m3dGGPTUTTQ8D?usp=sharing
- Try to keep variable names short
- INDENT USING TABS so it only uses one character
You can print to console for debug statements. See https://pico-8.fandom.com/wiki/Printh#Running_PICO-8_in_a_console_window.
I use a script so comments can be as long as needed without bumping into character limit.
Run the build task any time you want to "save" your progress (as well as saving manually I guess).
This means there are some steps you need to follow to create new organisation .lua files.
- Create your file.
new.lua
- Add this line to
./.vscode/tasks.jsonwithin theargslist."new.lua", "new_out.lua",
- Add this line to
fake.p8.#include new.lua
- Add this line to
bh26.p8.#include ./output/new_out.lua
Do NOT do any art, SFX or music in fake.p8 - all of this should be in bh26.p8.
Counters will automatically start decrementing when they're set to anything other than -1 - use them for anything that requires timing.
- Create a new counter by adding to the comma-separated list in
init.luacalledcname. - Use them later with
counters.my_counter_name.- Set to any value other than
-1to start the counter. - It will decrement on every frame.
- Can be used for animations, anything that requires a delay, etc.
- Set to any value other than