I was tired of navigating through all my code in a single file, so I made a simple tool for building carts code from multiple smaller files.
Nothing fancy as of now, but I hope it can save some people some time.
Here's a small cart I made to teach programming to a friend.
It's far from complete, and I'll post more updates as they make progress.
I restrained myself from using lua tricks like coroutines, metatables, and abusive oop, so the code could be kept as much approachable as possible.
Direction keys to move, C/Z to cycle lifes.
Organ is a simple sfx organizer.
When I make music with the pico8 tracker, I usually end up with an unreadable mess of samples that have nothing in common.
This utility lets you switch sfx indexes and update the song data accordingly.
You can either specify a filename in the code (still waiting for a usable ls()), or paste the song data of another cart manually.
The data is saved on the editor itself (even when a filename is specified). To save it to your music cart, you'll need to edit it manually (I'll make a better UI in the future).
I may or may not extend this to make a music compression utility :T
A veeery old thing I did in 2013 when I didn't really know how to program yet.
I was bored in math class so I did this thingy on my calculator.
I pretty much copy-pasted the whole thing and applied a few fixes for pico8, but it's really the same old code (ewww...)
At the time, the thing blurted out a frame every 28 seconds. Needless to say I was REALLY bored.
For fun times, try doing what I first did when I wrote this code: setting elasticity above 1/2.
EDIT: oh, yeah, you can control the camera with the arrow keys and reset the cloth with x
Update: tweaked the cooldown
just a simple demonstration of the undocumented feature of stat(x)
using the demo musics of course
feel free to use it in your music carts :D