Block E · One world with the engine

One world with the engine

Godot exits zero on a script error and non-zero on a clean quit. The only honest signal is a line the script printed and no error in the log — and every project that has driven it from a script has written that parser again, slightly differently.

Headless draws nothing at all

A real renderer needs a window, which makes every screenshot a manual step on a developer's desk and keeps it out of any gate. Which offscreen route works on a given machine is something capabilities() answers before a capture is attempted, rather than something a caller discovers from a blank image.

The sprite grid is declared once

Left to a person, a baked sprite and the running game agree on scale because somebody set a render rectangle to match a cell size the game holds separately, and nothing fails if either moves. So the engine's scale is read from the constant the game itself keeps, and render.bake checks a sprite's declared size against it before it renders. One declaration both sides read is the difference between an agreement and a coincidence.

Two machines, one image

The same capture script on two machines produces two different images, and the difference is a locale nobody declared rather than a change anybody made. Language and settings are pinned by the runner, so a difference in the output is a difference in the work.