๐ŸŽฎ My First Pico-8 Game ยท Episode 3 of 6 ยท See All Episodes
๐Ÿฐ Episode 3 ยท Intermediate ยท Builds on Episodes 1-2

Dungeon
Explorer

Explore rooms filled with monsters, collect health pickups and fight your way through a top-down dungeon. Learn multi-room layouts, enemy AI and health systems.

๐Ÿ‘ถ Ages 8+โฑ๏ธ ~1.5 Hours๐ŸŽฎ Pico-8โœ“ Free
๐Ÿ  Rooms๐Ÿ‘พ Enemiesโค๏ธ Healthโš”๏ธ Combat๐Ÿ”‘ Keys
โญ
0 XP
Level 1
๐Ÿ”ฅ0
Your Progress0 / 10 steps
๐Ÿ“ฆ
Reference cartridge: download the finished, playable Pico-8 cart for this workshop: โฌ‡ pico8-dungeon-reference.zip. Every code block also has a Copy button.
๐Ÿ’ป
How to run: Open PICO-8, paste the code in the CODE tab, and press Ctrl+R to run!
๐ŸŒ
How it works: write the code in each step, and the canvas on the right shows what your code does. It is a live preview that builds the game as you go. Type to see it update, or press Apply to Canvas to test it straight away.
๐ŸฆŠ
Lumo says: every step adds one feature to the same game. Type a little, click Apply to Canvas, and test it straight away. There is no wrong answer you can't undo.

Build Dungeon Step by Step

Each step adds one feature. Write the code, watch it come alive in the canvas, then make it your own.

Step 1 / 6
A hero exploring a dark dungeon grid
๐ŸŽ‰๐Ÿฐ๐Ÿ‘พโš”๏ธ๐Ÿ”‘
You Built a Dungeon Crawler!

Amazing, you've made a real dungeon game with rooms, enemies, combat, health and keys. Now try Episode 4!

0
Total XP
1
Level
0
Best Streak
0%
Accuracy
๐Ÿš€ Episode 4: Space Shooter โ†’

This workshop was free and took many hours to build. If it helped you learn something new, consider supporting the project.

☕ Support on Ko-fi
๐Ÿงฉ
Code Order: PICO-8 Game Loop
+20 XP
Drag these PICO-8 Lua lines into the correct order for the _update() and _draw() functions.
if btn(1) then player_x += speed end
function _update()
function _draw()
if btn(0) then player_x -= speed end
end
cls(0)
spr(1, player_x, player_y)
end
๐ŸŽฎ Build a Dungeon in the PICO-8 Studio Pick the game in the browser, tune it, play it live at 128x128, then download a real .p8 cart for PICO-8. No install. Open the Studio โ†’