Hacking the firewall, one block at a time.
My first postcart.
(297 chars)
k=rrect::✽::for p=1,256,2do line(0,p,s,p,0) circfill(rnd(s),rnd(s),3)end f=t()d=16x=d+sin(f/3)*8y=d+cos(f/2)*8s=128if(f==36)run() for i=0,f do for r=4,2,-1do g=1+r/10k(x*g+i%6*d+r,y*g+flr(i/6)*d+r,11,11,0,r+8)end rrectfill(x+i%6*d+1,y+flr(i/6)*d,13,13,0,rnd(2)+6)end k(x-3,y-3,101,101)flip()goto ✽ |
a simple metroidvania-style stealth game
X+C on keyboard or X+O on mobile to start
controls:
Left and Right - run
Up and Down - climb or drop from ledges
after getting the box, hold Down to hide inside
X - jump
after getting the sneakers, hold X to jump higher and tap it to jump lower
C/O - interact/attack
C/O while holding Left or Right - roll
Feedback is welcome!

This is a brief yet atmospheric mini top-down adventure. A short story about a little volcanic ember who finds himself far from home. Forced to explore an unknown, cold, and harsh world, he must seek his own way. Use your unique abilities to survive, make new friends, and ultimately turn this freezing journey into a search for inner strength, warmth, and coziness.
Keep your flame alive!


I just found out PICO-8 has an undocumented way to stream PCM. so I decided to make an audio player that streams audio via serial. copy from the dropped file port (0x800) to PCM data port (0x808).
There's two versions, one which supports .avr (top most cart) and another which supports raw .u8 (bottom most cart).
Do be careful using the raw .u8 version, because there is no header for .u8. .u8 is a raw unsigned 8-bit PCM audio stream 5512.5Hz (as specified by the wiki and the undocumented way to stream PCM I mentioned previously).
These carts do have instructions baked in, but I'll put them above each cart for the ease of copying and pasting.
Conversion process for .avr version:
-
Download sox
https://sourceforge.net/projects/sox/
(or use your package manager if on Linux or *BSD) - Run a command like

In this short Pico 8 game you are the rear gunner on a space ship travelling through space, but an endless swarm of alien ships have set their sights on taking down your ship, use your machine gun to stop them, manage your gun's health, as well as your ship's health by shooting health orbs and dodging incoming attacks.
Controls:
-UP and DOWN arrow keys to move your gun
-X/M/V to shoot
-Z/N/C to bring up the ship HUD
Tips:
To survive as long as possible, there are two important things to track, your ship's health and your gun's health:

I made a function that can turn the custom instruments into single-channel chords.
Sure, you can just use the arpeggio effects, but this code gives you fuller-sounding chords, and it allows you to put multiple chords in the same four-note group, so you can play syncopated chords!
function set_chords(wave,start,bass,filter,...)
local harmonics={...}
local addr=0x3200+68*start
for i in all(harmonics) do
for j in all(i) do
for k=0,63 do
poke(addr+k,peek(addr+k)+wave(k/64*j)*127/#i)
end
end
poke(addr+66,128)
poke(addr+65,bass and 1 or 0)
if (filter) poke(addr+64,filter)
addr+=68
end
end |

A basic color changing pong demo
(260 chars)
::➡️:: bx=60by=60bw=8bh=8ba=1bb=2 py=0s=127k=0 r=rectfill::😐::cls(k)bx+=ba by+=bb k=time()\6 color(k-5) r(bx,by,bx+8,by+8)r(0,py,8,py+64)py=py+1/8*(by-py-34)if bx+8>s or bx<7 then ba*=-1end if by+8>126 or by<0then bb*=-1end if bx+8<0then goto ➡️ end flip()goto 😐 |
The first exhibition of PICO-8 postcarts is happening at Pico Pico Cafe in Tokyo later this month! Each postcart is displayed as a physical 15x15cm card with the author, title and source code (<= 300 chars of PICO-8 code) on the back. A card reading machine hooked up to a crt tv can be used by guests to view the postcarts in their animated form.
We already have over 100 postcarts lined up for the exhibition, including some vintage tweetcarts and rare unposted postcarts. But the more the merrier! If you would like to show something, just check the permission box when submitting it BEFORE THE 15TH OF NOVEMBER, although we can probably include some stragglers before the opening on the 20th. I'm also happy to accept URLs via email (e.g. to old tweetcarts or personal webpages where src is visible) if you prefer: hey at lexaloffle dot come with "postcart" somewhere in the subject field.

This function replaces an sfx slot in a given music/pattern. Useful for dynamically changing music, making drum machines etc.
This function will also turn the channel "on" for you.
function replace_music_channel(music_id,sfx_id,channel_id) target_channel_offset=channel_id pattern_addr=0x3100+music_id*4 goal_addr=pattern_addr+target_channel_offset poke(goal_addr,sfx_id) end |
Call it with a pattern id(0-63), an sfx slot(0-63) and the channel id to change (0-3).
im not announcing a release date but i can confirm that its gonna be a lil toolkit that* i will (hopefully) use but im not gonna confirm anything yet, i will announce updates over time and dont be suprised if i end up canceling the project and releasing early src... i have a tendancy to do that when i announce a project and realise how much i put on the projects goals, currently my goal is to just make pico-8 code editing a tad bit easyer
-- upd1 - fixed a typo





0 comments









