Log In  
:: Unfold ::

Hey PICO-8 folks! I'm working on a farming sim, and immediately hit a roadblock with persistent memory for web users. Here's the issue:

Because it's a farming sim, I need my map tiles to be changed by the player on the fly. This isn't a problem with mset(), but my issue arises when it comes time to save the map data. Saving a whole grid of map values and flags for grass/dirt/tilled dirt/vegetables/weeds/rocks requires a lot of different numbers to be saved. I understand that cstore() is an option, but that's only for cartridge players, not players on the web, if I understand correctly. And with only 64 memory slots with dget() and around 1024 map tiles to save (if I shrink the map significantly), if I translate the tiles to decimal or binary values, memory's still far too tight.

Is there any type of memory storage or trick that has allowed any of you to store large amounts of map data persistently for web users, or am I out of luck?

P#117800 2022-09-22 15:35

:: Unfold ::

Cart #udead_1-0 | 2021-10-16 | Code ▽ | Embed ▽ | No License


You are a block with a face.

Navigate the moving walls, and shoot for a high score.

By popular demand, press Up or Down on the title screen to toggle between regular and classic modes!


[Z] Move

[X] Manual direction change

[Left / Right] Toggle palette

[Enter] Pause

P#97658 2021-09-22 14:19 ( Edited 2021-10-16 03:49)

:: Unfold ::

Hey everyone! In case you haven't heard, we're holding the third TweetTweetJam over on itch, and it started today. Make a game in 560 characters or less, without using sprites!

Itch - TweetTweetJam 3

There's already a ton of participation, and it's always a very fun time, so I hope to see some of you come out! If you make anything, make sure to drop a gif on Twitter and tag it #TweetTweetJam so everybody can see your work. :)

P#69832 2019-11-11 23:55

:: Unfold ::

Cart #meowlionaire-3 | 2019-09-04 | Code ▽ | Embed ▽ | No License

What would YOU do if you were a millionaire?

Meowlionaire knows what's up. This chubby cat is a modern-day Robin Hood, with pie-in-the-sky dreams of raiding a trove of gold, and redistributing the wealth to the feline working class. Rumors have been floating around about a billionaire's secret hoard, stashed up in the cloudtops. 1750 of those coins could feed the hungry for years, and if we're not kidding ourselves, nobody's gonna notice that they're gone. So Meowlionaire straps on a jetpack and launches into the clouds with a dream in her heart and a money sack in her paw. Equity for all, here we come!

[Arrows] Walk
[Z] Jump
[X] Map
[Enter] Pause

Special Moves
[Jetpack] Grab a jetpack to fly sky-high!
[Roof walk] Bump your head on the ceiling to hang down from it. This should be handy for crossing tricky gaps!

Remember to check your map often. It'll show you how many coins remain in each quadrant, so you can scour each one as needed! The game ends once you've collected every last one of the game's 1750 coins. Good luck, Meowlionaire!

P#66895 2019-08-23 22:39 ( Edited 2019-09-04 04:50)

:: Unfold ::

Cart #flopger-0 | 2019-03-03 | Code ▽ | Embed ▽ | No License

Flappy Bird meets Frogger.

I made this tiny game for elneil's PICOZONE 17-in-1 project: https://elneil.itch.io/picozone.

P#62452 2019-03-03 04:57

:: Unfold ::

Cart #berry-0 | 2018-12-20 | Code ▽ | Embed ▽ | No License

Be a bear! Eat berries! Do lots of superjumps!

Winter Bear is looking to get chubby for the winter, but pesky snow slugs have invaded her mountain! Toss snowballs at them, and kick 'em to clear each level. But can you survive the entire winter?

Left / Right: Walk
Z: Jump
X: Dig
X + Left / Right: Dig horizontally
Up: Pull out snowball
X: Throw snowball
Down + X: Superjump

P#60130 2018-12-20 04:07

:: Unfold ::

Cart #59336 | 2018-11-25 | Code ▽ | Embed ▽ | No License

Cart #59324 | 2018-11-25 | Code ▽ | Embed ▽ | No License

Cart #59319 | 2018-11-24 | Code ▽ | Embed ▽ | No License

Leave behind everyday life, and enter a relaxing, all-inclusive golf experience with randomly-generated levels and course conditions. Welcome to PicoPutt.

Arrow Keys: Select angle.
Z: Begin shot. Press Z again to shoot.

P#59320 2018-11-24 18:16 ( Edited 2018-11-25 23:50)

:: Unfold ::

Cart #58923 | 2018-11-10 | Code ▽ | Embed ▽ | No License

Just a work in progress.

P#58924 2018-11-10 18:16 ( Edited 2018-11-10 23:16)

:: Unfold ::

Cart #58559 | 2018-10-31 | Code ▽ | Embed ▽ | No License

An Asteroids homage with a left twist.

What a situation! You're stuck in an asteroid field, but your ship will only turn to the left! Power down on the throttle, mash your lasers, and put your reflexes to the test!

Collect all 15 ships! Every ship has its own stats: speed, spin, acceleration, drag, and laser attributes. Remember, you need to use your newest ship if you want to unlock the next one!

Z: Throttle
X: Laser

Left / Right: Select ship on title screen when unlocked
Up / Down: Toggle palette

Alternate Controls:

P#58560 2018-10-31 00:57 ( Edited 2018-11-25 03:26)

:: Unfold ::

Cart #56943 | 2018-09-20 | Code ▽ | Embed ▽ | No License

Coffee Bug loves coffee mugs! That's why the critter built a coffee shop in the forest, where creatures of all shapes and sizes can come to kick back, sip a hot cup a' joe, and relax. There's a field of genetically modified crops outside, growing coffee straight into the cup without the need for beans, roasting or brewing!

Harvest as much coffee as possible, for the love of the bean, and for the love of your patrons! But keep in mind, the sweet aroma of your rich blend has reached the nostrils of some hooligans!

Touch coffee mugs to pick them up! Take them to your cafe for points.
Throw coffee mugs with [Z]! Hit baddies to stun them!
Baddies can also be thrown into the shop, to be turned into paying customers. Basically, if you can grab it, toss it or knock it over, try throwing it into the cafe!

Arrow Keys: Walk
Z: Throw Mugs

Alternate Controls:
ESDF: Walk
W: Throw Mugs

P#56944 2018-09-20 17:47 ( Edited 2018-09-21 14:58)

:: Unfold ::

Cart #56192 | 2018-09-05 | Code ▽ | Embed ▽ | No License

PICO-8 has built in ESDF controls, but they need to be accessed from inside btn() and btnp(), by calling btn(x,1) or btn(x,0), as if you're setting up separate inputs for separate players. But what if you want to use ESDF as an alternate control scheme for a single player, so the player can alternate between the arrow keys and ESDF, depending on their preference?

Insert bt() and btp() into your program, and call them instead of btn() and btnp(). This small change will allow players to use esdf controls, with minor edits to your code!

P#56193 2018-09-04 20:40 ( Edited 2018-09-05 00:40)

:: Unfold ::

Cart #55617 | 2018-08-24 | Code ▽ | Embed ▽ | No License

The Conductor's train went off the rails near the desolate plains of Ash Town, so Hat Kid has returned to the planet to make sure her friends are okay, and to find a mysterious relic! Grab all 30 time pieces in this short platformer, based on the game A Hat in Time!

Arrow Keys: Walk

Z: Jump

X: Hookshot (when near a hook)

This fangame was created for #DEMAKEJAM. All characters and music are recreated homages to content in the original game. Buy A Hat in Time here: https://store.steampowered.com/app/253230/A_Hat_in_Time/

P#55619 2018-08-24 18:41 ( Edited 2018-09-24 17:46)

:: Unfold ::

Cart #55294 | 2018-08-17 | Code ▽ | Embed ▽ | No License

This cart outlines a fairly simple way in which diagonal vectors can be normalized, to avoid super-fast diagonal movement. On tab 0, you can check out the normalization code, and an example of where you should drop it in your code to make it work!

Feel free to use this function in your code, or to revise the math to make a more efficient system! The movement is a little jittery, so there's definitely room for improvement!

Also ... Vector the Skateboarding Duck might feature in future games. We'll see!

P#55295 2018-08-16 23:10 ( Edited 2018-08-17 13:59)

:: Unfold ::

Hey everybody!

I'm starting a PICO-8 indexing project called PICO-ATE (www.pico-ate.com). It's a resource dump site for templates and tutorials that might be too niche or specific for our wiki or Github pages. Right now we've got a template for creating printable PICO-8 game manuals, as well as a game tutorial by @misato and a Newgrounds Medal tutorial by @Bigaston.

I'd love to host any tutorials, templates or weird one-offs that any of you might have! If anybody is interested, either dump your link in this thread, or hit me up on Twitter (@platformalist) and I'll review the content!

P#54600 2018-08-02 10:43 ( Edited 2018-08-16 18:27)

:: Unfold ::

Cart #53366 | 2018-06-08 | Code ▽ | Embed ▽ | No License

From Wikipedia:
In probability theory, the birthday problem or birthday paradox concerns the probability that, in a set of n randomly chosen people, some pair of them will have the same birthday. By the pigeonhole principle, the probability reaches 100% when the number of people reaches 367 (since there are only 366 possible birthdays, including February 29). However, 99.9% probability is reached with just 70 people, and 50% probability with 23 people.

Not sure why The Birthday Problem blows my mind, but it got under my skin today, and I just HAD to make a visual representation of it. Press [Z] to generate a birthday for each of the 70 cakes. Each cake is assigned a value between 1 and 366 (1 for each day of the year). If there are two matching birthdays, their candles light up! If you want to see it represented numerically instead of visually, press [X]!

P#53367 2018-06-08 00:33 ( Edited 2018-06-17 16:37)

:: Unfold ::

Cart #51492 | 2018-04-10 | Code ▽ | Embed ▽ | No License

It's the Waddleball Grand Championship! Competitors must master the art of The Waddle if they hope to emerge victorious!

Left arrow key: Waddle left
Right arrow key: Waddle right
Alternate arrow keys: Waddle straight
Press and hold either key to dash
X or Z: Choose or exit level

You are Waddleduck, a chubby duck with the heart of a champion! Prove your mettle in 6 minigames by booting moles, stomping on tiles and destroying asteroids! Or, relax in free-play mode and kick some balls around.

P#51494 2018-04-10 10:06 ( Edited 2018-04-17 09:01)

:: Unfold ::

Cart #50300 | 2018-03-12 | Code ▽ | Embed ▽ | No License

Slugs have stolen the world's supply of shiny diamonds! It's time for a hero to take them back.

You are that hero. You are ... CAT BANDIT.

Break into every last room of Slug Bank, and steal the diamonds back! Do you have what it takes to become a world-class thief?

Arrow Keys: Move
Z: Dash

Level Challenges:

  1. Nab the diamond and get to the exit!
  2. Grab all the coins!
  3. Don't break any vases!
  4. Escape within the time limit!
  5. Complete all four challenges in one run!
P#50301 2018-03-12 10:08 ( Edited 2018-07-18 23:59)

:: Unfold ::

Cart #49296 | 2018-02-15 | Code ▽ | Embed ▽ | No License

Lick the Sky is a relaxing arcade climber about a lizard who stared up into the sky and wanted to lick the stars.

High scores are based on climbing time, flight time and time latched to shooting stars. But don't get hung up on it. Put on some music, relax, and Lick the Sky!

P#49297 2018-02-15 10:48 ( Edited 2018-02-22 22:36)

:: Unfold ::

S P O O P Y !
The 10 Haunted Treasures of Halloween

It's midnight on Halloween, and there's a chill in the air. Choose your own adventure in this text game, navigating 4 areas to find the 10 haunted treasures of Halloween! But ... are you brave enough?

Code compression and a few big features were handled by Enargy. He's fantastic! Follow him on Twitter [ @enargy] and check out his games!

P#45866 2017-11-04 12:07 ( Edited 2017-11-09 04:58)

:: Unfold ::

Cart #44467 | 2017-09-23 | Code ▽ | Embed ▽ | No License

Maze Land is in trouble! Eight cute birds have vanished from their nests, into the depths of mysterious hedge mazes!

You are Maze Dog, a chubby puppy who loves to nap, dig and bark! Venture into the deep hedges, find the lost birds, and have some snacks along the way. Good luck!

P#44468 2017-09-22 20:58 ( Edited 2017-09-26 14:09)

View Older Posts
Follow Lexaloffle:          
Generated 2023-09-22 04:41:29 | 0.127s | Q:71