Expand description
Headless driver for RunnerGame — run frames without a window.
Used by dotzuki run --headless (CI smoke tests, screenshot harnesses) and
by the integration tests. The driver synthesises an InputState per
frame (auto-pressing A on a configurable cadence so dialogue advances),
updates the game, then renders the final frame into a FrameBuffer
that can be dumped to a PNG.
Structs§
- Headless
Options - Options for
run_headless.
Functions§
- run_
headless - Run
gameheadless foropts.framesframes and return the final framebuffer (also written toopts.screenshotwhen set). - save_
png - Write a framebuffer out as an 8-bit RGBA PNG.