Rolly
Jump, Roll, Hop and Dive your way through sharp caves to rescue your friends.
Huge thanks to everybody who helped us make this - for contributions big or small. Also, a massive thank you to the Pico 8 community for showing us how it's done!
Controller recommended - here's a link to the game on itch.io which supports xbox controller in browser.
https://davbo.itch.io/rolly
Davbo and Rory~









I want to allow using the keyboard to input numbers, but also register the regular controller buttons.
It seems to work OK, except for one tiny problem: When the user presses the "8" key on the keyboard, PICO-8 also registers that as the X button on the controller.
Here's a minimally working example, run this and press the "8" key (the regular one, not on the numpad):
function _update() poke(0x5f2d,1) if (btnp(5)) print("x was pressed") end |
I can only find information about "X", "V" and "M" mapping to the X button, not "8".
The following snipped will display what key and button was pressed for any key, just in case I'd missed something, but "8" being mapped to button 32 (which is of course the mask for player 1's X button) was the only surprise.
function _update() poke(0x5f2d,1) if (stat(30)) print("'"..stat(31).."' was pressed on the keyboard") c=btnp() if (c!=0) print(c.." was pressed on the controller") end |

Mausoleum Quest is a small action adventure game where you explore an old and ruined place, inhabited by dangerous drones. It looks peaceful, but the quest will be difficult.
The controls are simple: an attack key, and a dash key to escape your opponents attacks and jump from a platform to anther.
Credits:
pathfinding from picozine 4 by richy486
collision script inspired from this cart by Zep
animation function by Scathe







This is my first game with pico-8. I made the graphics similar to the original Windows XP version of Minesweeper.
Use the arrow keys to move the cursor, Z to reveal a tile, and X to place/remove a flag.
You can start a custom game from the pause menu. If the board doesn't fit in the screen, you can move the view with ESDF.

Issue
Only in headless mode (pico8 -x test.p8), and when the mouse devkit is active, trying to access a devkit stat will result in a crash with:
Floating point exception (core dumped)
Minimal working example
script.p8:
pico-8 cartridge // http://www.pico-8.com version 16 __lua__ function _init() -- activate mouse devkit poke(0x5f2d, 1) end function _update() -- get mouse x position -- any stat from 32 to 36 will crash stat(32) end |
Then run with pico8 -x script.p8
Note that I put stat() in _update because I need at least 1 frame after activating the devkit so the crash occurs. If you print inside _update you'll see that stat(32) is 0 the first time, then it crashes.
Workaround
When testing functionality in headless mode, prepare a build that doesn't use the devkit at all. Or make sure that in runtime, the devkit is never used.
This is a quick and dirty cart exploring some AI methods for boardgames in pico8.
The implemented AIs are:
1- Purely Random
2- Random Avoiding win/loss moves
3- Playing randomly a number of times, counting win/losses and choosing "best" moves
4- MCTS (Monte Carlo Tree Search)
(Method 3 can be thought of as an MCTS of depth 1)
You can switch the AIs that the game uses by changing the AI_cofun table. Player_AI just
let's the player pick the move. You can make two AIs fight each other, or make two players
fight each other too.
It was pretty cool putting the AI co-routines together. The code is not the pretties or the most
token efficient, but I might polish it a bit if I find some time on the summer. Hacks are welcome!

Hey guys!
We've made a little fangame with my girlfriend based on a fanfic she wrote with Black Sails characters.
If you're afraid of spoilers, don't be! There's no connection with the story of the TV show.
The game is also available on itch.io. Here's the description from the page :
[box=ffeedd]This is an arcade fangame of "Black Sails" that makes absolutely no sense, with or without context! ^^
The idea actually came from a crack!fic I wrote on ao3 in which Silver drinks coconut water and then becomes crazy with want. I had a hard time writing at that time, so a friend of mine made a silly fanvid to cheer me up. In the end, this silly fanvid inspired my partner and me, and that's how this fangame was born. :)



mission
- rocket into the spiraling vortex
- face and destroy the cosmic horrors living inside it
- restore peace to the galaxy once and for all
controls
- left/right - move your ship in a circle around the vortex
- up/down - get closer into or farther away from the vortex
- z - shoot your weapon, hold for auto-fire and to make your ship move slower
tips
- movement of your ship is vortex-relative, it helps to stay on the bottom part of the vortex to not make movement confusing
- try to stay as far away from the vortex as possible







Pico Pirates is an open world adventure game featuring deadly monsters, rival pirates and beautiful sandy beaches!
You set out on your quest to find The Pirate King and claim the crown for yourself. To do this, you'll need to find the 4 compass pieces scattered around the vast, procedurally generated world and keep your crews spirits high throughout (pirates lovely treasure and a good fight!).
Art, programming, design
Craig Tinney
Music
Chris Donnelly
@Gruber_music
Special thanks
Daniel Caaz for their excellent font compression solution (https://8bit-caaz.tumblr.com/post/171492623783/rendering-a-font-from-a-layered-sprite-sheet-in)
Josh Richter for the constant testing and excellent ideas
Alex Wall <3
Follow me on Twitter for more Pico 8 goodies @ctinney94
Previous versions










So apologies if this has been asked before,
I am looking to build a sentence with random strings that will be stored in a table.
For example:
text = {}
names = {"a", "b", "c"}
name = names[rnd(2)] <-- doesn't work :(
foo = {
str = "Hi my name is" .. name
}
Everything I have found is in the Non P8 version of Lua.



