plushie/replay

Replay a .plushie script with real timing and windows.

Parses a script file and executes it with the windowed backend, respecting wait timings for demos and debugging.

import plushie/replay

pub fn main() {
  replay.run("demo.plushie", my_app.app())
}

Values

pub fn run(path: String, app: app.App(model, event.Event)) -> Nil

Replay a .plushie script file with real windows and timing.

Parses the script, executes it step by step, and reports results. For visual debugging, use the windowed test backend (PLUSHIE_TEST_BACKEND=windowed).

Search Document