Log In  
Follow
japhib
Follow

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

pico8-ls is a full-featured language extension for VSCode. It gives the full IDE experience, as if you were developing with Javascript, Java, Python, C#, etc.

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:

pico8-ls Issues on GitHub

P#113203 2022-06-15 21:57

Cart #duck_pond-0 | 2021-02-02 | Code ▽ | Embed ▽ | Forks ▽ | License: CC4-BY-NC-SA
3

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.

P#87139 2021-02-02 23:33

Cart #stranded_on_saturn-1 | 2021-01-20 | Code ▽ | Embed ▽ | Forks ▽ | License: CC4-BY-NC-SA
12

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!

Controls:

(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).

P#86621 2021-01-20 19:34 ( Edited 2021-01-20 19:37)

Cart #stranded_on_saturn-0 | 2020-12-30 | Code ▽ | Embed ▽ | Forks ▽ | No License
4

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

P#76667 2020-05-15 20:25 ( Edited 2020-12-30 18:25)

Follow Lexaloffle:        
Generated 2022-09-25 03:58:25 | 0.059s | Q:18