Bitflinger Games docs

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.

  1. Put your folder under layers/<slug>/. The folder name is your slug.
  2. Add a line to tools/check.sh that names your stack, root first: launch tall-meadow starter-world tall-meadow.
  3. Run GODOT=/path/to/godot tools/check.sh.
  4. 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 lookWhat it means
A line starting refused:The packer turned your layer down, and says why
denied on the VARIATIONS lineChanges your layer tried that a seal or a closed point stopped
ERROR or SCRIPT ERRORYour 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.