43 lines
1.9 KiB
Markdown
43 lines
1.9 KiB
Markdown
---
|
|
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:
|
|
- 
|
|
- 
|
|
|
|
## Sprite Frame Provider
|
|
- Add symbols to the **SpriteFrameProvider** for global access.
|
|
- 
|
|
|
|
## Reel Frame
|
|
- Configure the reel frame:
|
|
- 
|
|
- 
|
|
|
|
## Configuration
|
|
Use the `reel-scroller-helper` to set up spinning behavior:
|
|
|
|

|
|
|
|
| Property | Description | Example |
|
|
|----------|-------------|---------|
|
|
| **Cell Item Script Name** | Script attached to each cell item. |  |
|
|
| **Scroller Script Name** | Script handling spinning logic. |  |
|
|
| **Row Count x Reel Count** | Number of slot items per row and column. |  |
|
|
| **Cell Size** | Size of each cell. |  |
|
|
| **Cell Spacing** | Horizontal and vertical distance between cells. | - |
|
|
| **Cell Dim Color** | Dark color for non-winning cells during win animations. |  |
|
|
| **Top Count and Bot Count** | Additional cells at the top and bottom for spinning logic. |  |
|
|
|
|
## Generate Reel Panel
|
|
- Use the `reel-scroller-helper` to auto-generate the reel panel.
|
|
- 
|
|
|
|
**Tip**: Temporarily disable any popups covering the scene to view and edit reel slot components clearly. |