director
The only thing that advances **Standing Ovation**. One of these sits on the `Director` entity; every rendered frame it calls `Film.tick()` exactly once, which moves the film clock on by a fixed 1/24 s and pushes that time at every registered slice. It ticks in edit mode and in pl…
Director
The only thing that advances Standing Ovation. One of these sits on the
Director entity; every rendered frame it calls Film.tick() exactly once,
which moves the film clock on by a fixed 1/24 s and pushes that time at every
registered slice. It ticks in edit mode and in play mode alike, because the film
is authored, watched and recorded in both.
Nothing else may call Film.tick. A slice that wants something to happen at a
moment registers with Film.on / Film.at — see ovation.film.
Fields
autoPlay | Rewind and start the film as the component wakes. |
filmTime / filmFrame / shot / running | Where the film is, readable from any scope. |
Methods
local d = entity.find("Director").component.get("ovation.director")
d:restart() -- rewind to t = 0, firing every reset hook, and play
d:hold() -- freeze where it is, frame still composed
d:goTo(53.0) -- land on a moment without firing the cues in between
Scoped to this part · feeds back into the world's score.