pixi-reels

API reference

ReelCues

pixi-reels


pixi-reels / index / ReelCues

Defined in: audio/ReelSounds.ts:36

Properties#

PropertyTypeDescriptionDefined in
anticipation?CueA reel teasing, from anticipation:reel until its anticipation:reelEnd. ctx.order / ctx.total say where the reel sits in the tease, so a pitch can climb from reel to reel.audio/ReelSounds.ts:52
cascadeDestroy?CueA cascade destroying its winners (cascade:destroy:start).audio/ReelSounds.ts:58
on?Partial<Record<keyof ReelSetEvents, EventCue>>Any other reel-set event by name.audio/ReelSounds.ts:60
reelStop?CueA reel landing on its result (spin:reelLanding), on every landing path: an animated stop, a slam, a cascade refill. ctx.reelIndex is the reel.audio/ReelSounds.ts:46
skip?CueA skip press (skip:requested).audio/ReelSounds.ts:54
spin?CueThe spin: from spin:start until every reel has landed (spin:allLanded). A loop is the usual choice.audio/ReelSounds.ts:41
win?CueWinners shown (spotlight:start, and win:group for each presented win).audio/ReelSounds.ts:56