pixi-reels

API reference

DebugReelRound

pixi-reels


pixi-reels / debug / DebugReelRound

Defined in: debug/SpinMetrics.ts:30

One reel’s share of a round. Every time is ms since the round opened.

Properties#

PropertyTypeDescriptionDefined in
landedAtnumber | nullspin:reelLanded: fully at rest.debug/SpinMetrics.ts:39
landingAtnumber | nullspin:reelLanding: on its result frame, bounce not started yet.debug/SpinMetrics.ts:37
phasesDebugPhaseSpan[]Every phase the reel entered this round, in order.debug/SpinMetrics.ts:33
reelnumber-debug/SpinMetrics.ts:31
speednumber[]reel.speedNormalized samples as flat [t0, v0, t1, v1, ...]. Only recorded when the metrics were given a ticker; empty otherwise.debug/SpinMetrics.ts:51
stoppingAtnumber | nullspin:stopping: the controller asked this reel to stop.debug/SpinMetrics.ts:35
symbolSwapsnumbersymbol:created count: how many times a cell took a different symbol this round, from the pool or freshly built. The swap churn a spin causes.debug/SpinMetrics.ts:46
tease| { end: number | null; order: number; start: number; total: number; } | nullThe anticipation tease, when the reel teased.debug/SpinMetrics.ts:41