Gravity Popper
Gravity Popper is a dynamic arcade-style game where you launch balls to destroy enemies while dealing with gravity effects and physics. Your goal is to eliminate as many enemies as possible without losing all your lives.
How to Play:
-
Aim the Ball:
- Use the controls to adjust the launch angle and speed of the ball.
- Aim carefully to hit the enemies with maximum impact.
-
Launch the Ball:
- Press the launch button to send the ball flying towards the enemies.
- The ball will move according to the angle and speed set, following a parabolic path influenced by gravity.
- Destroy Enemies:
- The ball can destroy enemies by colliding with them.
Pico little alchemy
PICO-8 Little Alchemy is a creative and engaging puzzle game where you combine basic elements to discover new ones. Starting with just the four classical elements—fire, water, earth, and air—you can mix and match to uncover a wide range of combinations, from simple compounds to complex items and life forms.
How to Play:
-
Combine Elements:
- Select two elements from your discovered list.
- Combine them to see if they create a new element.
-
Discover New Elements:
- Each successful combination adds a new element to your collection.
- Your goal is to discover all possible elements by experimenting with different combinations.
- Reset Game:
- If you wish to start over, you can reset the game to its initial state.
Features:
- Over 200 Combinations: Explore a vast array of combinations, from simple mixtures like mud (earth + water) to complex discoveries like life (energy + water).
- Visual Feedback: Enjoy particle effects and visual cues for successful and failed combinations.
- Randomized Discovery: Each playthrough presents a different element to discover, adding replayability.
- User-Friendly UI: Intuitive controls and interface make it easy to navigate through your discoveries and try new combinations.
Controls:
- Arrow Keys: Navigate through the elements and menus.
- Z Key: Combine the selected elements or confirm an action.
- X Key: Open the reset game confirmation popup.
Example Combinations:
- Fire + Water = Steam
- Earth + Water = Mud
- Air + Fire = Energy
Game Objective:
- Discover all possible elements by combining different pairs of elements.
- The game keeps track of the elements you have discovered and challenges you to find them all.
Explore the world of alchemy and see how many elements you can discover in this addictive PICO-8 game!
Solution
[hidden]
local recipe_list = {
{"pressure", {"air", "air"}},
{"energy", {"air", "fire"}},
{"dust", {"air", "earth"}},
{"lava", {"earth", "fire"}, {"volcano", "fire"}},
{"rain", {"air", "water"}, {"cloud", "water"}},
{"mud", {"earth", "water"}, {"sand", "water"}},
{"steam", {"fire", "water"}},
{"sea", {"water", "water"}},
{"wind", {"air", "energy"}},
{"stone", {"air", "lava"}},
{"atmosphere", {"air", "pressure"}},
{"cloud", {"air", "steam"}, {"water", "air"}},
{"earthquake", {"earth", "energy"}, {"earth", "pressure"}},
{"gunpowder", {"dust", "fire"}, {"charcoal", "sun"}},
{"salt", {"fire", "sea"}, {"hammer", "stone"}},
{"volcano", {"earth", "lava"}, {"mountain", "fire"}},
{"granite", {"lava", "pressure"}, {"stone", "pressure"}},
{"obsidian", {"lava", "water"}, {"lava", "cold"}},
{"brick", {"fire", "mud"}, {"clay", "heat"}},
{"plant", {"earth", "rain"}, {"earth", "flood"}, {"water", "seed"}},
{"flood", {"rain", "rain"}},
{"ocean", {"sea", "sea"}, {"water", "sea"}},
{"sky", {"air", "cloud"}},
{"sand", {"air", "stone"}, {"wind", "stone"}},
{"wall", {"brick", "brick"}},
{"fog", {"cloud", "earth"}, {"cloud", "cold"}},
{"mountain", {"earth", "earthquake"}, {"rain", "volcano"}, {"flood", "volcano"}},
{"storm", {"cloud", "energy"}},
{"metal", {"fire", "stone"}},
{"explosion", {"fire", "gunpowder"}, {"fire", "pressure"}},
{"swamp", {"mud", "plant"}},
{"tsunami", {"wind", "wave"}, {"ocean", "earthquake"}, {"sea", "earthquake"}},
{"algae", {"ocean", "plant"}, {"water", "plant"}},
{"isle", {"ocean", "volcano"}, {"mountain", "ocean"}},
{"wave", {"ocean", "wind"}, {"sea", "wind"}},
{"cotton", {"cloud", "plant"}},
{"grass", {"earth", "plant"}},
{"geyser", {"steam", "earth"}, {"volcano", "water"}},
{"tobacco", {"fire", "plant"}},
{"garden", {"plant", "plant"}},
{"moss", {"plant", "stone"}},
{"ash", {"energy", "volcano"}, {"fire", "paper"}},
{"eruption", {"energy", "volcano"}},
{"hurricane", {"energy", "wind"}, {"wind", "wind"}},
{"rust", {"air", "metal"}, {"metal", "water"}},
{"sound", {"air", "wave"}},
{"atomic bomb", {"energy", "explosion"}},
{"fireworks", {"explosion", "sky"}, {"gunpowder", "sky"}},
{"glass", {"sand", "fire"}, {"sand", "baker"}},
{"sun", {"fire", "sky"}},
{"bullet", {"gunpowder", "metal"}},
{"steel", {"charcoal", "metal"}},
{"electricity", {"energy", "metal"}},
{"blade", {"metal", "stone"}},
{"mountain range", {"mountain", "mountain"}, {"earthquake", "mountain"}},
{"river", {"mountain", "water"}},
{"beach", {"ocean", "sand"}},
{"flower", {"garden", "plant"}},
{"diamond", {"charcoal", "pressure"}, {"ash", "time"}},
{"clay", {"mud", "sand"}},
{"cactus", {"plant", "sand"}, {"desert", "plant"}},
{"desert", {"sand", "sand"}},
{"quicksand", {"sand", "swamp"}},
{"moon", {"sky", "stone"}},
{"sandcastle", {"sand", "stone"}},
{"house", {"wall", "wall"}, {"human", "wood"}},
{"pond", {"earth", "water"}, {"mud", "water"}},
{"bird", {"air", "life"}, {"air", "animal"}},
{"scissors", {"blade", "blade"}},
{"sword", {"blade", "metal"}, {"blade", "wood"}},
{"oasis", {"desert", "water"}, {"desert", "pond"}},
{"ring", {"diamond", "gold"}},
{"human", {"life", "mud"}, {"animal", "city"}},
{"light bulb", {"electricity", "glass"}},
{"wire", {"electricity", "metal"}},
{"pottery", {"clay", "fire"}, {"baker", "clay"}},
{"water lily", {"flower", "pond"}},
{"glasses", {"glass", "glass"}},
{"mirror", {"glass", "metal"}},
{"telescope", {"glass", "sky"}},
{"ant", {"animal", "sand"}},
{"battery", {"electricity", "rust"}},
{"space", {"earth", "sun"}},
{"alien", {"life", "space"}},
{"time", {"moon", "sun"}},
{"root", {"earth", "grass"}, {"cave", "plant"}},
{"tree", {"root", "time"}, {"plant", "time"}},
{"wood", {"blade", "tree"}},
{"birdhouse", {"bird", "wood"}},
{"fruit", {"flower", "tree"}},
{"alcohol", {"fruit", "time"}},
{"animal", {"earth", "life"}},
{"meat", {"animal", "blade"}},
{"baker", {"meat", "fire"}},
{"light", {"air", "sun"}},
{"angel", {"human", "light"}},
{"windmill", {"wall", "wind"}},
{"wheat", {"grass", "sun"}},
{"flour", {"wheat", "windmill"}},
{"pasta", {"flour", "water"}},
{"bread", {"fire", "pasta"}},
{"sugar", {"energy", "plant"}},
{"cake", {"flour", "sugar"}},
{"candy", {"baker", "sugar"}, {"fire", "sugar"}},
{"cannon", {"explosion", "metal"}},
{"carrot", {"plant", "root"}},
{"charcoal", {"baker", "wood"}, {"fire", "tree"}},
{"paper", {"water", "wood"}},
{"book", {"paper", "paper"}},
{"brain", {"book", "human"}},
{"computer", {"brain", "electricity"}},
{"death", {"life", "time"}},
{"corpse", {"death", "life"}},
{"zombie", {"corpse", "life"}},
{"dam", {"river", "wall"}},
{"day", {"sun", "time"}},
{"healing", {"leaf", "life"}},
{"doctor", {"healing", "human"}},
{"donut", {"pasta", "sugar"}},
{"rainbow", {"rain", "sun"}},
{"duck", {"bird", "water"}},
{"eagle", {"bird", "mountain"}},
{"egg", {"bird", "life"}},
{"family", {"house", "human"}},
{"farmer", {"human", "plant"}},
{"fireman", {"fire", "human"}},
{"forest", {"tree", "tree"}, {"tree", "earth"}},
{"bone", {"corpse", "time"}, {"death", "death"}},
{"cold", {"water", "wind"}},
{"fridge", {"cold", "metal"}},
{"gold", {"metal", "sun"}, {"metal", "light"}},
{"hail", {"ice", "stone"}},
{"hammer", {"metal", "wood"}},
{"ice", {"cold", "water"}},
{"internet", {"computer", "earth"}},
{"leaf", {"plant", "tree"}, {"paper", "tree"}},
{"life", {"energy", "water"}},
{"emotion", {"flower", "human"}},
{"love", {"emotion", "human"}},
{"music", {"emotion", "sound"}},
{"oil", {"earth", "pressure"}, {"bone", "time"}},
{"omelette", {"egg", "fire"}, {"egg", "baker"}},
{"origami", {"paper", "scissors"}},
{"peacock", {"bird", "rainbow"}},
{"penguin", {"bird", "cold"}},
{"phoenix", {"bird", "fire"}},
{"city", {"house", "house"}},
{"pigeon", {"bird", "city"}},
{"airplane", {"bird", "human"}},
{"robot", {"computer", "gear"}},
{"android", {"human", "robot"}},
{"raft", {"sea", "wood"}, {"ocean", "wood"}},
{"sailboat", {"raft", "wind"}, {"cloth", "raft"}},
{"seagull", {"bird", "sea"}},
{"wheel", {"stone", "wood"}},
{"skateboard", {"wheel", "wood"}},
{"snow", {"cold", "rain"}, {"cold", "flood"}},
{"snow globe", {"glass", "snow"}},
{"snowboard", {"snow", "wood"}},
{"snowman", {"human", "snow"}},
{"spaceship", {"rocket", "space"}},
{"steam engine", {"metal", "steam"}},
{"thunderstorm", {"cloud", "electricity"}, {"storm", "energy"}},
{"woodpecker", {"bird", "wood"}},
{"gravity", {"earth", "space"}},
{"black hole", {"gravity", "sun"}},
{"reptile", {"animal", "earth"}},
{"dinosaur", {"reptile", "time"}},
{"dragon", {"fire", "reptile"}},
{"shell", {"pressure", "sand"}, {"ocean", "time"}},
{"turtle", {"animal", "shell"}},
{"farm", {"animal", "house"}},
{"cow", {"animal", "grass"}},
{"rabbit", {"animal", "carrot"}},
{"frog", {"animal", "pond"}},
{"fish", {"animal", "water"}},
{"sheep", {"animal", "cotton"}},
{"disease", {"death", "healing"}},
{"rat", {"animal", "disease"}},
{"pig", {"animal", "mud"}},
{"milk", {"cow", "grass"}},
{"yogurt", {"milk", "time"}},
{"cheese", {"time", "yogurt"}},
{"ice cream", {"cold", "milk"}, {"cold", "yogurt"}},
{"cat", {"animal", "rat"}},
{"dog", {"animal", "cat"}},
{"shark", {"fish", "fish"}},
{"golem", {"earth", "human"}},
{"scythe", {"blade", "grass"}},
{"pyramid", {"desert", "stone"}, {"desert", "house"}},
{"sunflower", {"flower", "sun"}},
{"blender", {"blade", "electricity"}},
{"sleigh", {"ice", "wood"}},
{"sandstorm", {"energy", "sand"}, {"sand", "storm"}},
{"ivy", {"plant", "wall"}},
{"horizon", {"ocean", "sky"}},
{"butter", {"blender", "milk"}},
{"seed", {"life", "plant"}},
{"gear", {"brain", "metal"}},
{"gun", {"gear", "gunpowder"}, {"cannon", "gunpowder"}},
{"clock", {"gear", "time"}},
{"lantern", {"glass", "light bulb"}, {"fire", "glass"}},
{"bee", {"ant", "flower"}},
{"honey", {"bee", "tree"}},
{"bear", {"animal", "honey"}},
{"map", {"paper", "earth"}},
{"planet", {"stone", "space"}},
{"mars", {"planet", "rust"}},
{"venus", {"planet", "steam"}},
{"man", {"human", "mars"}},
{"woman", {"human", "venus"}},
{"baby", {"human", "life"}},
{"shield", {"metal", "shell"}},
{"car", {"metal", "wheel"}},
{"fairy", {"human", "butterfly"}},
{"mermaid", {"human", "water"}},
{"blizzard", {"snow", "wind"}, {"snow", "storm"}},
{"catapult", {"pressure", "wood"}},
{"iceberg", {"ice", "mountain"}},
{"jellyfish", {"fish", "light"}, {"electricity", "fish"}},
{"glue", {"plant", "water"}, {"paper", "water"}},
{"bamboo", {"grass", "tree"}},
{"cave", {"earth", "mountain"}, {"house", "mountain"}},
{"cloth", {"cotton", "wire"}},
{"bat", {"bird", "cave"}},
{"batman", {"bat", "man"}},
{"bow", {"cloth", "wood"}},
{"grenade", {"explosion", "metal"}},
{"grenade fruit", {"fruit", "grenade"}},
{"apple", {"fruit", "computer"}},
{"beetle", {"ant", "shell"}},
{"butterfly", {"ant", "sunflower"}},
{"carnival", {"city", "music"}},
{"dew", {"grass", "rain"}},
{"dome", {"glass", "house"}},
{"giraffe", {"animal", "tree"}},
{"kite", {"paper", "wind"}},
{"nebula", {"cloud", "space"}},
{"parachute", {"cloth", "wind"}},
{"rocket", {"fireworks", "metal"}},
{"sapphire", {"diamond", "water"}},
{"rubis", {"diamond", "fire"}},
{"amber", {"diamond", "honey"}},
{"emerald", {"diamond", "grass"}},
{"satellite", {"metal", "space"}},
{"solar panel", {"glass", "sun"}},
{"surfboard", {"board", "wave"}, {"board", "sea"}},
{"armor", {"metal", "shield"}, {"steel", "shield"}},
{"campfire", {"fire", "wood"}},
{"champagne", {"alcohol", "sugar"}},
{"garden gnome", {"garden", "human"}}
} |

Utility Functions for PICO-8
Utility Functions for PICO-8 is a collection of essential functions, inspired by JavaScript, that simplifies game development by offering common operations on tables and strings. This library is particularly useful when porting JavaScript code to PICO-8, making the transition smoother and more efficient.
Functions Overview:
- Iteration Functions:
foreach(t, fn): Iterates over each element in a table and applies a function.map(t, fn): Transforms each element in a table and returns a new table.filter(t, fn): Filters elements based on a condition and returns a new table.

PICO-8 "FUSE" SHMUP Game
PICO-8 SHMUP is an action-packed shoot 'em up game where you pilot a spaceship, blasting through waves of enemies, collecting power-ups, and avoiding obstacles. As you progress through stages, the difficulty increases, making every second count in your fight for survival.
How to Play:
- Movement: Use the arrow keys to move your ship left, right, or forward.
- Shooting: Press
Zto shoot bullets at incoming enemies. - Boosting: Hold the up arrow key to activate your speed boost, which increases your ship's speed and score multiplier. Boosting also changes your ship’s appearance.

Pico Guess Who?
Pico Guess Who is a fun, turn-based guessing game where players take turns to guess each other’s character by asking about their attributes. You’ll compete against the CPU, trying to identify their mystery character before they guess yours!
How to Play:
-
Setup: The game generates a grid of characters with various attributes such as gender, hair type, hair color, beard type, body color, and whether they wear glasses or not.
-
Your Character: At the start of the game, both you and the CPU are assigned a random character from the grid.
- Guessing:
- Take turns asking the CPU questions about their character’s attributes (e.g., "Is your character a man?", "Does your character have glasses?").





1 comment