Pico-8 doesn't provide a built-in way to sort arrays.
However it does provide a way to remove items from an array as well as a way to add them to a random position.
A lot of the time a full array-sorting function isn't needed; sometimes it's just enough to be able to insert one item into an already sorted array.
I did look around in the bbs but I didn't find a function for doing it, so here it is:
do local lt=function(a,b) return a<b end function oadd(arr,obj,cmp) cmp=cmp or lt local l,r,m=1,#arr while l<=r do m=(l+r)\2 if cmp(arr[m],obj) then l=m+1 else r=m-1 end end add(arr,obj,l) return l end end |
The function figures out where to insert the item in an already sorted array (using the same algorithm as quicksort) and inserts the new item there.
For arrays of integers or strings it is a drop-in replacement for the built-in add
function. The numbers will just be inserted in the right place so that they are sorted. The third optional parameter allows for using different comparation functions. Example:
Evil has returned, and You have been called upon to vanquish it! (again) It's all up to You, Hero! (again)
⬆️➡️⬇️⬅️ - Movement
🅾️ - Sword attack
❎ - Arrow attack
🅾️ + ❎ - Staff attack
Enter/Start - Show inventory
Features:
- Hack n slash in an ever-increasingly evil world
- No story to complete, just play until you're sick of it!
- Two characters to switch between
- Iconography for everything
Gotchas:
- Bug: sometimes the inventory doesn't show up in the pause menu
Changelog




.png)

So you know those CMY Cubes? The ones where you rotate them around and the colors mix in the light?

After recently being taught how to mix colors using bitplanes, this idea came to mind, and I just had to make it
The 5 Platonic Solids, in all their CMY glory!
This was actually quite the challenge for me, as I've never messed with 3D rendering before. So I had to learn how to find the vertexes of each polyhedra, and I had to learn how to rotate them using matrix multiplication. But that was all quite fun, and I hope I can use them again in a future project that isn't just basically a gif




Seizure warning: Lots of flashing colors as the bogo sorter sorts quickly!
Watch as this bogo sorter (visualized by colored bars) attempts to sort a list. Once it finishes, it will begin trying to sort an even bigger list! Watch as it tries to go as far as it can with an ever-expanding list!
This is my first cart, made in order to mess around with PICO-8. As you may be able to tell, it is a joke.
The hard limit for how many elements that can be visualized is probably 128, but I haven't tested. Not that it will matter, as the chances for it ever reaching that point are astronomical anyway.
A small picross game!
Controls:
Fill block - Left mouse
X block - Left mouse + X
Erase block - Left mouse + Z
Move your mouse to the left/above the board to see more of the row/column clues.
When making the puzzles, I was more focused on the end result than on how easy it is to solve so the difficulty ramps up fairly quickly. That said, all puzzles should have only a single solution and do not require any guessing.






Cat Idle 1
In this really dumb game you just sit and stare at a cat. Sadly I have to say, that this really terrible game is my first game. There is actually no point of playing this game.
Reasons to not play this game:
-
You cant do ANYTHING.
- Sometimes the cat likes to leave the map and never come back.
The 1 fun thing about it:
- You can show your friends how brainrotted you are with the counter!
By Skyme
![]() |
[16x16] |


Hi!
Just sharing my first Pico8 game. It's a Tetris inspired by Twintris on Amiga, and it's all about smooth movements. I believe it could be considered the smoothest of them all :).
It doesn't follow all the original Tetris rules since there are already a lot of clones out there doing a good job.
Controls:
Player 1:
- ⬅️,⬇️,➡️ move the piece
- ❎,🅾️ rotate the piece
- ⬆️ hard drops the piece
Player 2: - S,F,D move the piece
- TAB or Q, LSHIFT rotate the piece
- E hard drops the piece
Versions:
1.4
- Screen shake for 1P mode



Oh boy it's time to remake my horribly named mods. Back when I was a little bitty boy I made my very first mod, called "funny mountain game", although some of you might call it with a, different word... And now, 7-ish months later, I now made this, a remake (more of a reboot, but you know what I mean.) of the original mod. So uh, have fun I guess.
This Celeste mod is significantly harder than the vanilla game. I'd suggest you play the original first before playing this mod. There are 3 routes, with all of the berries being possible. I'd ask you if you can but lets face it, you're probably gonna try to get all berries anyway.
Controls
- Arrows to walk
- Z to Jump




.png)


Hey everyone,
we're finally cleaning up the sources of our demo The Mind from last year's Revision party.
Each effect will be available as a standalone file with a bit of comments added.
If you want to know more, please let me know.
This effect is a classic ray-casting tunnel. It's doing a ray-cylinder intersection test along a rough grid and interpolates the areas in between. By replacing the intersection test, you can render all kinds of continous shapes.
Since the uvs of the cylinder wrap around at some point, a bit of thought went into solving this in a reasonably performant way.
Source code


Caveshum
escape the endless dungeon filled with monster and treasure or will you?
How-To-Play:
Kill Monsters to get upgrades and money.
Once you see the 6 rooms, something will happen...
Controls:
- Move: arrow keys
- Jump: X or V
- Whip/????/Gun C or Y
About:
I watched the first Indian Jones recently, that should explain most.
Also you may find alot of similarities with my other game i just published "downmole". Thats because downmole wasdeveloped it for quite long and I kinda made a mini engine. then this game is basically just the same but using other tiles and so on.
This is a update to the original microjam 34 submission, which you can play on itch. But this one is better.


Submission for a little game jam between some friends! Made in less than 2 weeks (but more realistically, 2 days, as I was preoccupied also making another better game with another group lol)
I'll update this later with the itch link to that much better game
But anyways! This is actually the Best game in the jam, and will win!


Here is the PICO-WEB work in progress cartridge. PICO-WEB is a hypertext document renderer, and currently supports:
- P8SCII (colors, 8x8 monochrome images, audio snippets, etc.)
- Scrolling/clicking (with adjustable scroll size and direction in the pause menu)
- 1 size of header (
h(text)
function) - bold text (
b(text)
function) - Hyperlinks to other cartridges (
a(text,cart_id)
function)- Note for this one: you need to mark the preceding text block with the
r(text)
function so that it gets put in inline (unless you didn't want it to be put in inline).
- Note for this one: you need to mark the preceding text block with the
- Page history for 1 previous page (pause menu)
- Adjustable-sized page margins and background/text colors (see
page.header
)




This game is for dulwich 2-day green gamejam 2025.
Topic is "Health"
"In the year 2040, zetatech unveils a groundbreaking medical nanodrone that can be injected through a needle into a blood vessel to proactively remove stubborn bacteria that cannot be removed by normal medication. the nanodrones are not yet trusted by the public, and zetatech now is planning an online stream face to the public, prove the effectiveness of the nanodrone by a real operation."
"Congratulations employee, you've been chosen by the company to be the operator of a medical nanodrone, based on your precise surgical mechanical maneuvering skills. The success of nanodrone is now all on you."

Controls:
O: jump
X: action
down: crouch
down + O: drop through platform
Abilities:
Once gained, elemental abilities can be used by pressing the action button. Metal (white) allows a dash, which can break blocks. Water (blue) allows a geyser, the water from which can revitalize withered vines. Fire (orange) allows flame, which can be used to burn vines and jump slightly higher than normal (during a jump, press the action button).
Manual (with partial map):
Many thanks to @thisismypassword for Shrinko8, without which this wouldn't have been possible.






.png)


