VSCode IDE (Pico-8)

PICO-8 Easier development with Visual Studio - imogiagames /

see also

caption

Extensions

# .vscode/settings.json
{
  "workbench.colorTheme": "PICO-8"
}

Alternatives

see also

VS Code with PICO-8

Using VSCode with PICO-8. As well as other Using External Tools

# include

put all of your code in a separate file and using #include you can use individual tabs from carts by going #include cartname.p8:2 which would include any code on the second tab inside the cart.

#INCLUDE can be used for things like:

  • Sharing code between cartridge (libraries or common multi-cart code)
  • Using an external code editor without needing to edit the .p8 file directly.
  • Treating a cartridge as a data file that loads a PICO-8 editing tool to modify it.
  • Loading and storing data generated by an external (non-PICO-8) tool.

Debug

printh

the printh function to output text to the terminal.

see also

Tokens

  • use info to have token count

Alternative way of doing things:

Doc

Written on October 22, 2023, Last update on February 15, 2025
pico8 vscode