trailer
Tumblestep's trailer, played live by the running game: the stepped TUMBLESTEP title, a shove, tumbles through several areas with toys, the slow-motion instant replay of the biggest hit, the upgrade shop and the end card "TUMBLESTEP, the endless stair". filmRig draws the title car…
game.film.trailer
Tumblestep's trailer, played live by the running game: the stepped TUMBLESTEP title, a shove, tumbles through several areas with toys, the slow-motion instant replay of the biggest hit, the upgrade shop and the end card "TUMBLESTEP, the endless stair". filmRig draws the title cards; every shot is the real game (director, chase camera, toys, replay, shop).
In play: require("game.film.trailer").run() plays it (~40 s), require("game.film.trailer").record("tumblestep-trailer") also records it to /zero/source/local/recordings/tumblestep-trailer.mp4 with av.record. It plays on a throwaway in-memory profile and puts the player's own profile back afterwards.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2nonstrict
now( ) → number
at(t: number) → void
| arg | type | description |
|---|---|---|
| t | number |
waitFor(pred: () → void
| arg | type | description |
|---|---|---|
| pred | ( |
caption(text: string, dur: number) → void
| arg | type | description |
|---|---|---|
| text | string | |
| dur | number |
card(text: string, sub: string, dur: number) → void
| arg | type | description |
|---|---|---|
| text | string | |
| sub | string | |
| dur | number |
ready( ) → boolean return S
chargedShove(tShove: number) → void
a charged shove: the game's own charge meter fills, then the push goes at full power
| arg | type | description |
|---|---|---|
| tShove | number |
shove( ) → void
newRun(areas: number) → void
| arg | type | description |
|---|---|---|
| areas | number |
rig( ) → any
endCard(untilT: number, sub: string?) → void
the stepped TUMBLESTEP over whatever is on screen, the game's HUD held hidden while it shows
| arg | type | description |
|---|---|---|
| untilT | number | |
| sub | string? |
run(opts: { [string]: any }?) → void
Play the trailer now from the stair (yields until it ends, about 56 s on the film clock).
| arg | type | description |
|---|---|---|
| opts | { [string]: any }? |
finish( ) → void
grantTickets( ) → void
mark(label: string) → void
| arg | type | description |
|---|---|---|
| label | string |
snap(part: string) → void
| arg | type | description |
|---|---|---|
| part | string |
decode(path: string) → void
| arg | type | description |
|---|---|---|
| path | string |
mix( ) → string
Mix the trailer's soundtrack: the score plus every cue in M.SFX, to M.MIX (written quietly, no import). Returns the path.
record(name: string?, opts: { [string]: any }?) → string
Play the trailer and film it to /zero/source/local/recordings/<name>.mp4 on a fixed step (cadence "frame": every drawn frame is one film frame and one game step, however slowly the machine draws) with the mixed soundtrack (M.MIX, made by mix()) laid under it. opts: width, height, quality, audioTrack (false for none).
| arg | type | description |
|---|---|---|
| name | string? | |
| opts | { [string]: any }? |
prewarmAsync(self: ?, pos: ?, done: ?, po: ?) → void
| arg | type | description |
|---|---|---|
| self | ? | |
| pos | ? | |
| done | ? | |
| po | ? |
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Showing up to 3 levels deep. Open a part to see what it holds further down.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ quality × 0.35
+ performance × 0.25
± compat factor
Usability ratings
Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".
Scoped to this part · feeds back into the world's score.