2.5 KiB

sidebar_position
sidebar_position
2

Free Spins Implementation Guide

Overview

The Free Spins feature provides bonus rounds where players:

  • Receive complimentary spins
  • Can win prizes without additional bets
  • Often encounter enhanced winning opportunities

Free Spins Overview

Setup Process

1. Asset Configuration

Core Components

Required prefabs from core package: Core Assets

Game-Specific Assets

Implementation prefabs: Game Assets

2. Background Configuration

  1. Animation Setup

    // Add to Animation Provider
    animationProvider.addAnimation('freespin-background');
    

    Animation Config

  2. Display Modes

    Mode Configuration
    Landscape Landscape
    Portrait Portrait

3. Feature Implementation

Scene Structure

Required components:

  • Trigger Display
  • Retrigger Handler
  • Win Presentation

Scene Components

Component Setup

  1. Trigger Configuration

    • Add assets:
      • Fonts
      • Textures Trigger Setup
  2. Retrigger Configuration

    • Configure display elements Retrigger Setup
  3. Win Display

    • Set congratulations assets Win Setup

:::tip Configuration Guidelines Maintain consistency with game design specifications for:

  • Font selection
  • Visual elements
  • Animation timing :::

4. Optional Enhancements

Sidebands

Classic slot visual enhancement:

interface SidebandConfig {
    particleEffect: 'particle-free-sideband';
    background: 'sideband-back';
    foreground: 'sideband';
    shine: 'sideband-shine';
    liquid: 'sideband-static';
    indicator: 'indicator-static';
}

Sideband Implementation

Transitions

Polish between game states:

  1. Configure animation provider
  2. Set node mappings Transition Config

Implementation Examples

Feature Flow

  1. Trigger Trigger Example
  2. Active State Active Example
  3. Completion Complete Example