One problem, one page, minimal code. All recipes assume the Starter Template layout but work in a single main.lua too.

Recipes

RecipeProblem it solves
Movement & JumpSmooth 8-way movement + gravity that feels good
CollisionSimple collision without a physics engine
Game StatesTitle → play → pause → game-over without spaghetti
AudioMusic + sound effects without crackles or overlap bugs
Save & LoadPersist high scores + settings between sessions
Scaling with PushCrisp pixels on any window size

TIP

Each recipe ends with When it breaks. If your game has a bug, check the recipe’s table before Googling — it’s probably there.

How to use this section

  1. Build Pong first so the vocabulary lands
  2. Add one recipe at a time to your game
  3. When something works, ship a web build to Demos and get a friend to playtest