pixi-reels
All recipes

Anticipation in turbo

SuperTurbo profiles set anticipationDelay to 0, which skips the tease. Pass a duration override to setAnticipation so the big scatter moment still plays at turbo speed, with no profile juggling.

Loading recipe…

Turbo shouldn’t kill the tease

Anticipation duration comes from the active SpeedProfile.anticipationDelay. The built-in TURBO profile shortens it and SUPER_TURBO sets it to 0 — which means a plain setAnticipation produces no tease at all in turbo. But the “will I land the bonus?” moment is exactly what you don’t want to skip, even for a fast player.

One override, no profile juggling

Pass duration (ms) in the options object. It overrides the profile’s anticipationDelay for this call, so the tease plays regardless of speed:

reelSet.setSpeed('superTurbo');           // anticipationDelay: 0
reelSet.setResult(grid);
reelSet.setAnticipation([2, 3, 4], {
  duration: 420,                          // forces the tease even at turbo speed
  stagger: 240,
  slowdown: { from: 0.5, to: 0.12 },
});

stagger and slowdown work exactly as they do at normal speed — duration only sets the base hold (and becomes the base that slowdown.holdFrom/holdTo scale). Drop the override and the same call reverts to whatever the active profile dictates, so normal spins tease and turbo spins stay instant unless you opt in.