Log In  
Follow
Ahai64

This is a project consisting of definition files for the sumneko/lua extension for VSCode, allowing you to write PICO-8 or Picotron programs with the support of modern editor features.

https://github.com/ahai64/pico8

https://github.com/ahai64/picotron

https://marketplace.visualstudio.com/items?itemName=sumneko.lua

12
14 comments



Cart #understand14-2 | 2025-03-08 | Code ▽ | Embed ▽ | No License
3

Draw a line to fit the rules of the cells.

You need to guess the rules by yourself.

TODO

  • more rules
  • more levels

Credit

The idea of this game comes from

3
0 comments



Cart #snake_ahai_v2-0 | 2024-01-29 | Code ▽ | Embed ▽ | No License
6

6
5 comments



I found a simple way to use printh on Windows without any setup by using Terminal in VSCode.

Using Lnk file

  1. Drag and drop the lnk of PICO-8 into VSCode Terminal;
  2. Press Enter to run it;
  3. Use printh in PICO-8!

Now printh will output its info to VSCode Terminal.

Using p8 file in VSCode

And if you set pico-8.exe as the default program to open your p8 file, you can just drag and drop your p8 file in the VSCode to Terminal. It will open PICO-8 and load the cart and printh still works.


Another way by editing lnk file: https://www.lexaloffle.com/bbs/?tid=42367

8
4 comments



@zep There is a mistake in the PICO-8 manual.

6.14 Additional Lua Features > Coroutines > costatus(c)

Return the status of coroutine C as a string:
  "running"
  "suspended"
  "dead"

The status "normal" is missing.

When coroutine A calls coroutine B, and you check the status of A in B, you will get "normal".

5
1 comment



Cart #neretepisu-1 | 2023-02-08 | Code ▽ | Embed ▽ | No License
5

5
7 comments



Cart #terufzoge-3 | 2023-02-17 | Code ▽ | Embed ▽ | No License
25

Controls

Rules

Like Tetris, but you can erase cells in 2 directions.

Have fun! 😜

25
10 comments