Hallo ,
I am making a game with a monster and need your help.
I want that when the monster touches the figure the figu death.
This is the code:
monster = {}
monster.x = 30
monster.y = 30
monster.sprite = 10
and
player = {}
player.x = 8
player.y = 8
player.sprite = 0
and
monster.sprite = monster.sprite + 1
if monster.sprite > 015 then
monster.sprite = 010
Thanks for your help!!!


Hello all -
Here is my first completed Pico8 cart - also my first programming project, as I am attempting to learn all this from scratch (programming in general, and Lua and Pico8 in particular). I've been trying to slowly let things sink in without much of a rush in order to not get too frustrated too quickly :D
Nothing to write home about about this cart - this is a simple countdown timer, showing progress over 5 sub-tasks for a desired total length. Eventually I'd like to make it a little prettier, like this :

... but that would require me to get down the rabbit hole of a custom triangle fill function, so I'll leave that for another day :)
Also uploading this here in order to have access to on-screen controls on mobile. I actually first imagined this as a standalone app for desktop ... but with Pico8 running slower when not in focus that made it unusable :D So, mobile it is then.
Thank you for your time !



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~









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.
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. :)


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.




This was inspired by a minesweeper puzzle I saw in a paper magazine years ago.
- tag bombs with (X). once you've tagged 20 cells the board is revealed
- tag free cells in green with (O) (in easy mode only)
-
the bomb count does not include the cell itself (a '0' cell can contain a bomb)
- new version with mouse support (from 2019, forgot to post ¯\(''/)/¯).
- some polish still needed, so still w.i.p.
older version: