I've always been frustrated by how low-tech the dev environment feels for PICO-8, so I finally decided to do something about it. Introducing:
PICO-8 Language Server for VSCode
Download here: pico8-ls - VSCode Marketplace
This extension has full support for the PICO-8 dialect of Lua - which means you don't have to move your code into a .lua file, or go through and remove all the += to get the Lua extension to work!
Here are some other useful features:
- Go to definition
- Find references
- Warning on undefined variable usage
- Get documentation for built-in functions by hovering over them
- Support for "#include"ing other files
Demo of hover-docs, auto-complete, and signature help:
My most proud achievement is getting the #include statements to work, since go-to-definition and find-references both work across #include file boundaries. Demo of that working:
Anyways, I hope you find it useful! If you find any issues, please file an issue for them on GitHub:
This was mainly a study for me on making interesting-looking water with basic reflection/distortion. I think it turned out fun. Just relax by the pond and watch the ducks.
Stranded on Saturn - a demake of Commander Keen 1-3. Pogo your way through 4 huge levels to find the Bean With Bacon Megarocket and escape back to Earth!
(o) or z - jump
(x) or x - get out/put away pogo stick
Hold jump while pogoing to go a lot higher!
Collect lollipops, sodas, and Vorticon teddy bears for an extra challenge. These are totally optional and just serve as an extra objective for those that are interested (much like the strawberries in Celeste).
This is a tribute/demake to the original, oldschool Commander Keen games! Still very much a work in progress. The first level is done. Updated 12/30/2020