Checking and playing
In the app, tap Play in the editor to run your game on your phone.
On a computer
You need Godot 4.6 and a copy of the games repo.
- Put your folder under
layers/<slug>/. The folder name is your slug. - Add a line to
tools/check.shthat names your stack, root first:launch tall-meadow starter-world tall-meadow. - Run
GODOT=/path/to/godot tools/check.sh. - Play it with
godot --path runtime -- --launch=$PWD/build/tall-meadow.launch.json. WASD moves, the arrow keys look, space jumps, and the mouse stands in for a finger.
The lessons' starting code is under lessons/, and tools/check.sh already
runs each lesson, so you can play one with
godot --path runtime -- --launch=$PWD/build/learn-run-faster.launch.json.
Reading the check
| Where to look | What it means |
|---|---|
A line starting refused: | The packer turned your layer down, and says why |
denied on the VARIATIONS line | Changes your layer tried that a seal or a closed point stopped |
ERROR or SCRIPT ERROR | Your script has a mistake. The line names the file and line number |
To see your game play without touching it, tools/play_test.sh runs it on a
virtual display, replays keys and touches from a list of timed steps, and saves
screenshots. The games repo's README shows how.