TumbleUI
Tumblestep's screens in the sticker-storybook style (`game.ui.style`), local to each player: the title card over the live course (stepped TUMBLESTEP title, PLAY, Tumblers / Upgrades / Settings, the first-run hint), the run HUD (distance, run Bonks rolling up, combo meter, area ch…
game.ui.TumbleUI
Tumblestep's screens in the sticker-storybook style (game.ui.style), local to each player: the title card over the
live course (stepped TUMBLESTEP title, PLAY, Tumblers / Upgrades / Settings, the first-run hint), the run HUD
(distance, run Bonks rolling up, combo meter, area chip, Second Wind pips, charge meter, pad reticle), popping numbers
at impact points, the area banner, the results card (distance, depth record, Bonks breakdown, combo record, NEW RECORD,
upgrade nudge, Shop / Again / Rebirth), the tumbler select screen (characters and outfits) and settings (volume, music,
number style, quality). The shop, Rebirth and welcome-back screens are incrementalKit's, restyled in game.economy.
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 return time
bump( ) → void
put(name: string, tree: any?, layer: number) → void
| arg | type | description |
|---|---|---|
| name | string | |
| tree | any? | |
| layer | number |
fmt(n: number) → string return Inc
| arg | type | description |
|---|---|---|
| n | number |
metres(n: number) → string return Eco
| arg | type | description |
|---|---|---|
| n | number |
hexOf(c: { number }?) → string
| arg | type | description |
|---|---|---|
| c | { number }? |
h(x: ?) → void
| arg | type | description |
|---|---|---|
| x | ? |
screenSize( ) → void
isCompact(w: number, h: number) → boolean return w < 700 or h < 560 end
compact = a phone-sized short edge (narrow, or a squat landscape phone); tall = held upright. A portrait tablet (768 x 1024) is tall but not compact: it keeps the full-size type and stacks instead of shrinking.
| arg | type | description |
|---|---|---|
| w | number | |
| h | number |
isTall(w: number, h: number) → boolean return h > w end
the same test menusKit (ctx.portrait), the stepped title (game.ui.looks) and scoreKit's corner use, so every screen flips at the same moment when a window or phone turns upright
| arg | type | description |
|---|---|---|
| w | number | |
| h | number |
dev( ) → string return S
padLabel(b: string) → string
| arg | type | description |
|---|---|---|
| b | string |
glyph(kind: string, label: string?, size: number?) → any
a button glyph: a coloured disc for a pad face button, a keycap for anything else
| arg | type | description |
|---|---|---|
| kind | string | |
| label | string? | |
| size | number? |
prompt(parts: { any }, size: number?) → any
one prompt: glyphs then words
| arg | type | description |
|---|---|---|
| parts | { any } | |
| size | number? |
promptBar(rows: { any }, compact: boolean) → any
| arg | type | description |
|---|---|---|
| rows | { any } | |
| compact | boolean |
padHint(cb: string) → any
the glyph a button wears while the pad is in use
| arg | type | description |
|---|---|---|
| cb | string |
root(children: { any }, id: string?) → any
| arg | type | description |
|---|---|---|
| children | { any } | |
| id | string? |
abs(node: any, style: any) → any
| arg | type | description |
|---|---|---|
| node | any | |
| style | any |
btn(text: string, cb: string, o: any?) → any
| arg | type | description |
|---|---|---|
| text | string | |
| cb | string | |
| o | any? |
titleScreen(w: number, h: number) → any
| arg | type | description |
|---|---|---|
| w | number | |
| h | number |
hudScreen(w: number, h: number) → any
| arg | type | description |
|---|---|---|
| w | number | |
| h | number |
distScreen(w: number, h: number) → any
the distance card and area chip live on their own small screen: they change many times a second over a run, and the rest of the HUD (prompts, buttons, the Shove again card) then stays laid out as it is
| arg | type | description |
|---|---|---|
| w | number | |
| h | number |
row(label: string, value: string, color: string?, delay: number?) → any
| arg | type | description |
|---|---|---|
| label | string | |
| value | string | |
| color | string? | |
| delay | number? |
countK( ) → number
boardT( ) → number return now
resultsScreen(w: number, h: number) → any
| arg | type | description |
|---|---|---|
| w | number | |
| h | number |
cell(label: string, value: string, delay: number) → any
held upright: the six tallies as a two-column grid, so the card fits a phone without scrolling
| arg | type | description |
|---|---|---|
| label | string | |
| value | string | |
| delay | number |
pair(a: any, b: any) → any
| arg | type | description |
|---|---|---|
| a | any | |
| b | any |
modalFrame(title: string, body: { any }, w: number, h: number) → any
| arg | type | description |
|---|---|---|
| title | string | |
| body | { any } | |
| w | number | |
| h | number |
tumblersModal(w: number, h: number) → any
| arg | type | description |
|---|---|---|
| w | number | |
| h | number |
popLook(p: any) → void
how a number reads by what it is worth: small white ticks, mint solid bonks, sun big ones, coral crits
| arg | type | description |
|---|---|---|
| p | any |
fxTree(w: number, h: number) → any
| arg | type | description |
|---|---|---|
| w | number | |
| h | number |
ease(x: number) → number x
| arg | type | description |
|---|---|---|
| x | number |
ease(x: number) → number x
| arg | type | description |
|---|---|---|
| x | number |
ease(x: number) → number x
a sunny panel sweeps in from the right, holds while the next course builds, and sweeps off to the left
| arg | type | description |
|---|---|---|
| x | number |
navTree( ) → any
render( ) → void
onPopup(ev: ?) → void
| arg | type | description |
|---|---|---|
| ev | ? |
kitTree(name: string) → any
| arg | type | description |
|---|---|---|
| name | string |
navContext( ) → void
which screen the pad drives now, the trees it holds, and where focus starts
activate(cb: string, ctx: string) → void
| arg | type | description |
|---|---|---|
| cb | string | |
| ctx | string |
padPressed(b: string) → boolean
| arg | type | description |
|---|---|---|
| b | string |
tickNav(rdt: number) → void
| arg | type | description |
|---|---|---|
| rdt | number |
syncKitButtons( ) → void
the kit's top-right buttons: Milestones on the cards, Upgrades too while aiming, nothing over a run. The kit's toasts sit top-centre, right on the distance chip, so over a run they are off and a milestone pops at the tumbler instead (see the "milestone" listener in awake).
awake( ) → void
update(dt: number) → void
| arg | type | description |
|---|---|---|
| dt | number |
cycle(list: { string }, cur: string, d: number) → string
| arg | type | description |
|---|---|---|
| list | { string } | |
| cur | string | |
| d | number |
onCallbackImpl(id: string) → void
| arg | type | description |
|---|---|---|
| id | string |
onCallback(id: string, _data: any) → void
| arg | type | description |
|---|---|---|
| id | string | |
| _data | any |
onDestroy( ) → void
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.