2025-05-21 14:36:53 +07:00

1.9 KiB

sidebar_position
sidebar_position
3

Reel Slot Setup

Overview

The reel slot system manages the core spinning mechanics of the game.

Asset Preparation

  • Add symbol textures and reel frames:
    • Symbol Texture
    • Reel Frame

Sprite Frame Provider

  • Add symbols to the SpriteFrameProvider for global access.
    • Sprite Frame Provider

Reel Frame

  • Configure the reel frame:
    • Reel Frame 1
    • Reel Frame 2

Configuration

Use the reel-scroller-helper to set up spinning behavior:

Reel Scroller Helper

Property Description Example
Cell Item Script Name Script attached to each cell item. Cell Item Script
Scroller Script Name Script handling spinning logic. Scroller Script
Row Count x Reel Count Number of slot items per row and column. Reel Row Column
Cell Size Size of each cell. Cell Size
Cell Spacing Horizontal and vertical distance between cells. -
Cell Dim Color Dark color for non-winning cells during win animations. Dim Cell Color
Top Count and Bot Count Additional cells at the top and bottom for spinning logic. Cell Top Bottom

Generate Reel Panel

  • Use the reel-scroller-helper to auto-generate the reel panel.
    • Generate Panel

Tip: Temporarily disable any popups covering the scene to view and edit reel slot components clearly.