I've found a way to use the Pico8 language server extension for VSCode while developing with Picotron.
This give you all the "Pico" style changes to Lua as recognized commands that don't throw errors, things like:
a += 1 if (something) action() a = b \ c |
There is some Picotron syntax which will show up as warnings (such as 'fetch' or 'window'), but this is the best we've got until a proper Picotron Lua language server extension is released.
To use it - install the pico8-ls extension by Pollywog Games in VSCode.
In Picotron open main.lua and enter the following:
cd("/projectname")
include ("src/filename1.lua")
include ("src/filename2.lua")
-- etc for every lua file |
Your source LUA files go in the Picotron drive (type 'folder' at the Picotron command prompt to open it)
in drive/projectname/src
Save your .p64 file into drive/projectname/projectname.p64
Lastly, to get the Pico8 language server to think this is a Pico8 game and to include all your Lua files, you create a .p8 file: drive/projectname/projectname.p8 and edit it in VSCode. It should look like this:
How To Play
- Z - Shoot
- X - Rockets
- Arrow keys - Move
Some enemies have a blue outline - when they die, collect their ghost for a large score bonus. Each ghost is worth 50 points times the number of ghosts collected so far - so the key to a high score is to not miss any of the ghosts.
After you've used your rockets 3 times, they take 10 seconds to reload. Save your rockets for difficult situations or blue enemies.
Inertia is on by default, which makes the player's helicopter move smoothly. If you prefer more responsive controls without acceleration and deceleration you can turn inertia off.

Puzstel Storm
A match-3 puzzle game featuring Pastel Storm and friends.
How to Play
Use the arrow keys to move the cursor and press Z to swap tiles.
Arrange the tiles to create matching groups of 3 or more.
After every 5th swap, the matching groups will break, awarding you 5 points per tile.
The remaining tiles will fall and new ones will enter from the top.
Chaining
If the falling tiles create a new matching group, a chain starts. A 2-chain is worth double points, and a 3-chain is triple points etc...

Hi, this is my first Pico-8 game. It's a remake of the Dreamcast game ChuChu Rocket. This is a multiplayer game, best played with 2 controllers. The game contains 16 levels.
I've tried to make the code easy to follow so others can examine it and learn the techniques.
Instructions
Use the arrow keys to move your cursor.
Press the O button and a direction to place an arrow on the grid. Mice and cats will follow the arrows.
Steer the mice into your rocket (the red or green circle), and steer the cats into your opponent's rocket.
Mice score 1 point, or 50 points for a gold mouse. Cats remove 1/3 of your total score.
The round ends after 3 minutes and then moves to a new random map.





0 comments