Hacker News new | ask | show | jobs
by VyseofArcadia 848 days ago
What was your workflow? Last time I played around with PICO-8 I found the built-in editor to be inadequate. Using an external editor was also annoying for reasons I don't quite remember, but I remember having to close and re-open PICO-8 all the time. Not exactly a the tight, seamless iteration loop I was hoping for.
4 comments

My .p8 file just has `#include driftmania-min.lua` and I do all the code edits in an external editor on that file. By splitting it out you remove the conflicts from modifying code and audio/graphics at the same time
There’s a new-ish plugin for VSCode called pico8-ls that is much better for language support than what there used to be. But the #include approach mentioned by someone else allows you to use the full Lua extensions which are great.
There’s a VSCode plugin for PICO-8 that lets you use that. It ties in with the core and has hot keys to launch the current code to test it.

I find it way easier/faster than using the built-in IDE for the code part itself. Then just use the built-in IDE for assets/music.

You just open game.p8 in an editor, save changes, and ctrl-r in Pico-8 to reload the game.