PR pixi-reels

TumbleFallConfig

pixi-reels


pixi-reels / index / TumbleFallConfig

Interface: TumbleFallConfig

Defined in: cascade/TumbleConfig.ts:8

Configuration for tumble cascade phases. Passed to ReelSetBuilder.tumble(config) and baked into the three phase classes at build time. Pure animation values. every callback you want is an event (reelSet.events.on('cascade:...', ...)), never a config field.

Properties

PropertyTypeDescriptionDefined in
duration?numberHow long each symbol’s fall-out tween runs, in ms. Default 300.cascade/TumbleConfig.ts:12
ease?stringGSAP easing string for the fall trajectory. Default 'sine.in' (gravity feel). Anything from gsap.com/docs/v3/Eases works.cascade/TumbleConfig.ts:18
rowOrder?"bottomToTop" | "topToBottom"Which row of each reel begins its fall first. - 'bottomToTop' (default). bottom row falls first, top row last. Pairs with the per-reel left-to-right stagger from speed.spinDelay to give the canonical “bottom-left falls first, top-right last” feel of commercial tumble slots. - 'topToBottom'. top row falls first. Reads as the column “peeling” downward; useful for theme-specific effects.cascade/TumbleConfig.ts:36
rowStagger?numberDelay between successive rows starting their fall, in ms. 0 makes every row fall together. Default 0.cascade/TumbleConfig.ts:24