Hi All!
I made a PICO-8 demake of my still WIP Android game, Orbit Rush!
Gameplay is inspired by an old Crash Bash minigame, guard your goal against up to three CPU opponents. Miss a ball and lose a point; get eliminated and your goal becomes a wall. Last pilot standing wins.
There are four arenas, four difficulty levels, power-ups and multiball.
Moving your paddle adds spin, DASH gives your shots extra punch, and GRAB lets you catch a ball and aim your throw.
Controls: Left/right to move, O/Z to dash, X to grab or throw. Enter/P to pause.
Hope you enjoy it!
(Had a little bit of help for this post from GenAi as i'm not a native English speaker :) )

Hi folks,
Currently trying to finish up the leaf game I've posted about previously, and been trying to get the token count down so I can add a more satisfying ending. One way I was hoping to do this was by turning some of the token-consuming tables into a more slick function. I currently have a table for each of the leaf pile objects in my game, that look like this:
leafpile1={
name="pile 1",
piletype="path",
x=5,
y=88,
sp=180,
spa=139,
animtimer=10,
animtimerreset=10+rnd(3),
interact=false,
interacting=false,
complete=false,
mapcelx=0,
mapcely=0,
mapoffset=0,
pathcomplete=false,
objectcomplete=false,
leavesadded=false,
leaves={}
}
leafpile2={
name="pile 2",
piletype="path",
x=90,
y=88,
sp=180,
spa=139,
interact=false,
interacting=false,
complete=false,
l=10,
r=50,
mapcelx=112,
mapcely=0,
mapoffset=896,
pathcomplete=false,
objectcomplete=false,
leavesadded=false,
leaves={}
}
And so on. I have six of these that use over 400 tokens between them. I was hoping to be able to use a function like this to simplify things a bit:
function leafpiletables(a,b,c,d,e,f,g,h)
a={
name=b,
piletype=c,
x=d,
y=e,
sp=180,
spa=139,
animtimer=10,
animtimerreset=10+rnd(3),
interact=false,
interacting=false,
complete=false,
l=10,
r=60,
mapcelx=f,
mapcely=g,
mapoffset=h,
pathcomplete=false,
objectcomplete=false,
leavesadded=false,
leaves={}
}
end
And then I would be able to call that function in the _init() like this:
leafpiletables(leafpile1,"pile 1","path",5,88,0,0,0)
leafpiletables(leafpile2,"pile 2","path",90,88,112,0,896)
leafpiletables(leafpile3,"pile 3","path",50,88,32,0,256)
etc etc
But when I do it like this, all the other functions where I use the leaf pile tables stop working and clearly can't find the information they need anymore. Is there a way to do this that would actually work?
Many thanks!

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.





1 comment








