Tutorials
The best way to learn is by building something real. Each tutorial walks you through a complete, working game from scratch, introducing engine features in the context of a game that actually plays.
Available Tutorials
| Tutorial | Difficulty | Concepts Covered |
|---|---|---|
| Space Shooter | Beginner | Entities, movement, bullets, enemies, spawning, scoring |
| Platformer | Beginner–Intermediate | Physics, tilemaps, character controller, collectibles, checkpoints |
| RPG Basics | Intermediate | Inventory, save/load, dialogue, NPCs, quests |
| Puzzle Game | Intermediate | Grid state, undo/redo, level loading, win conditions |
Before You Begin
Make sure you have the engine installed and a project set up:
bash
# Clone the minimal starter
git clone https://github.com/web-engine-dev/starter-template my-game
cd my-game
pnpm install
pnpm devOr scaffold a new project from scratch:
bash
pnpm create @web-engine-dev/game@latestSuggested Learning Path
If you're new to the engine:
- Game Dev Guide, read the overview to understand the core concepts
- Space Shooter Tutorial, your first complete game (45 min)
- Platformer Tutorial, introduces physics and tilemaps (60 min)
- RPG Basics, deeper systems: inventory, save/load, dialogue (90 min)
- Puzzle Game, state, undo/redo, level data (60 min)
After completing the tutorials, explore the Game Dev Guide for deep dives into every engine system.