Log In  


Cart #pancelors_postcarts-0 | 2024-11-02 | Code ▽ | Embed ▽ | No License
8

This is a collection of my various tweetcarts and other code art, circa 2019-2023. Most of my non-interactable postcarts etc are in here, including a few that are only included as a part of this collection. 25+ fun little animations!

(I posted this on itch a while back but forgot to post it here until just now, as I was reading zep's release notes for the BBS's new postcart feature. So I'm uploading my postcart gallery now; better late than never!)

Controls

These carts are non-interactive animations for you to look at. The only interaction is opening the menu (Enter/P), where you can change the active cart.

  • Press left/right on the cart name to manually swap out the active cart
  • The carts will auto-advance to a random cart every 20~60 seconds. You can disable this by setting "Cycle: no" in the menu

An example of navigating the menu:


There are 25+ carts in this thing, be sure to check out at least one of these before you leave: system restored, adrift, wormys, weird bug, firefly spring

Hope you enjoy!

Technical details:


Search for carts={ to find the source code for each cart (inside the "script" function of each table entry). The code isn't very readable, but that's where you can find it. There are links to the canonical versions elsewhere, which you can try to pick apart using my twiddler tool, if you'd like.

For this gallery cartridge, I had to set up this whole harness that runs each cart in a sort of sandbox, letting them act as intended without messing with each other. There were lots of finicky parts to this:

  • resetting the draw state after each cart
  • using coroutines to allow carts to use goto and other unusual control flow
  • saving a screenshot of the initial pico-8 state, for the carts that depend on it
  • redefining the time() function so that carts would think they started at t=0
  • saving a copy of the values of special characters like 🐱, in case carts redefine those values
  • etc, etc

I had to make some minor changes to some carts (mainly changing flip() calls to yield() calls) but mostly I was able to wholesale copy-paste them directly into this gallery cartridge, which felt pretty neat.

8



[Please log in to post a comment]