Log In  

Cart [#56943#] | Copy | Code | 2018-09-20 | Link

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

arcade action coffee animals fast-paced havoc
P#56944 2018-09-20 17:47 ( Edited 2018-09-21 10:58)


Cart [#56192#] | Copy | Code | 2018-09-04 | Link

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


Cart [#55617#] | Copy | Code | 2018-08-24 | Link

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/

platformer fangame demake speedrun
P#55619 2018-08-24 18:41 ( Edited 2018-09-24 13:46)


Cart [#55294#] | Copy | Code | 2018-08-16 | Link

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!

tutorial cart cool duck skateboarding
P#55295 2018-08-16 23:10 ( Edited 2018-08-17 09:59)


Cart [#53366#] | Copy | Code | 2018-06-08 | Link

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]!

probability not a game
P#53367 2018-06-08 00:33 ( Edited 2018-06-17 12:37)


Cart [#51492#] | Copy | Code | 2018-04-10 | Link

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.

sports kickball duck waddle eggnog games whack-a-mole minigames weird co
P#51494 2018-04-10 10:06 ( Edited 2018-04-17 05:01)


Cart [#50300#] | Copy | Code | 2018-03-12 | Link

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!
sneak speed theft cat
P#50301 2018-03-12 10:08 ( Edited 2018-07-18 19:59)


Cart [#49296#] | Copy | Code | 2018-02-15 | Link

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!

lizard arcade climber relaxing
P#49297 2018-02-15 10:48 ( Edited 2018-02-22 17:36)


Cart [#45865#] | Copy | Code | 2017-11-04 | Link

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!

spooky spoopy text choose your own adventure cyoa
P#45866 2017-11-04 12:07 ( Edited 2017-11-08 23:58)


Cart [#44467#] | Copy | Code | 2017-09-22 | Link

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 10:09)

:: More
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2018-10-17 05:18 | 0.464s | 1835k | Q:107