API reference
ReelCues
pixi-reels / index / ReelCues
Defined in: audio/ReelSounds.ts:36
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
anticipation? | Cue | A 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? | Cue | A 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? | Cue | A 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? | Cue | A skip press (skip:requested). | audio/ReelSounds.ts:54 |
spin? | Cue | The spin: from spin:start until every reel has landed (spin:allLanded). A loop is the usual choice. | audio/ReelSounds.ts:41 |
win? | Cue | Winners shown (spotlight:start, and win:group for each presented win). | audio/ReelSounds.ts:56 |