complete respin feature
This commit is contained in:
parent
7ed56da6f2
commit
e59f02ee61
@ -1,67 +1,74 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 3
|
sidebar_position: 3
|
||||||
---
|
---
|
||||||
|
# Respin Feature
|
||||||
|
|
||||||
# Respin
|
### Overview
|
||||||
|
**Respin** is a bonus mechanic in slot games that allows players to re-spin selected reels without restarting the full spin.
|
||||||
|
It typically triggers after a specific in-game condition (e.g. near-win or bonus hit) and enhances player engagement.
|
||||||
|
|
||||||
## Overview
|
> Respin ends when the respin counter reaches **zero**.
|
||||||
The Respin feature is a popular mechanic in modern slot machine games that allows players to spin one or more reels again without restarting the entire game round.
|
|
||||||
|
|
||||||

|
```mermaid
|
||||||
|
stateDiagram-v2
|
||||||
|
Spin --> SpinEnd
|
||||||
|
Spin --> Trigger_Respin : case Special
|
||||||
|
|
||||||
### Main Scene
|
SpinEnd --> Trigger_Respin : No Win
|
||||||
|
SpinEnd --> Win
|
||||||
|
Win --> Win_Complete : case normal
|
||||||
|
Win_Complete --> Trigger_Respin
|
||||||
|
```
|
||||||
|
---
|
||||||
|
|
||||||
#### Start Respin
|
### Main Scene Integration
|
||||||
|
|
||||||
The **Respin** feature usually occurs after a specific win or condition is met.
|
#### Triggering Respin
|
||||||
|
- Triggered by game logic after a win or specific pattern.
|
||||||
|
- Node setup required in Scene graph.
|
||||||
|
|
||||||
**Scenes**
|
| Action | Image |
|
||||||
| Description | Image |
|
|--------|-------|
|
||||||
|--------------------------|------------------------------------|
|
| Create Respin Trigger Node |  |
|
||||||
|Create Respin Feature Node||
|
|
||||||
|
|
||||||
1. **Respin Trigger Result**
|
#### Respin Flow
|
||||||
|
1. **Trigger Respin Result**
|
||||||
|

|
||||||
|
|
||||||

|
2. **Re-trigger Respin**
|
||||||
|

|
||||||
|
|
||||||
|
3. **Keep Symbols Static (for symbol holding logic)**
|
||||||
|

|
||||||
|
|
||||||
2. **Respin Re-Trigger Result**
|
4. **Display Counter**
|
||||||
|
Show number of respins remaining.
|
||||||
|

|
||||||
|
|
||||||

|
---
|
||||||
|
|
||||||
3. **Respin Counter**
|
### Server Communication
|
||||||
|
|
||||||
| Description | Image |
|
#### Respin Event Handling
|
||||||
|-----------------------|------------------------------------|
|
- Override class: `hyper-gaming-server-handler`
|
||||||
| Number of respins ||
|
|
||||||
|
|
||||||
The respin feature ends when the number of respins reaches **zero**, and the game returns to the **normal mode**.
|
| Process | Image |
|
||||||
|
|---------|-------|
|
||||||
|
| Listen for event: `"respins" |  |
|
||||||
|
| Trigger Data from Server |  |
|
||||||
|
| Re-trigger Data |  |
|
||||||
|
|
||||||
#### Handle Script Processes Data Respin
|
---
|
||||||
|
|
||||||
1. Handle Respin Response Event from Server:
|
### UI & Feature Management
|
||||||
- Override the class: `hyper-gaming-server-handler`
|
|
||||||
- The event name is usually: `respins`
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
**Processes** :
|
|
||||||
|
|
||||||
1. Trigger Data
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
2. Re-Trigger
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
#### Handle Script Respin Panel
|
|
||||||
|
|
||||||
- create class `feature-respin` override the class: `feature-game`: handle panel respin and manager ui feature respin.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
- add script trigger / retrigger
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
|
#### Feature Class Setup
|
||||||
|
- Create `feature-respin` class extending `feature-game`
|
||||||
|
- Responsibilities:
|
||||||
|
- Manage respin panel UI
|
||||||
|
- Handle trigger & retrigger logic
|
||||||
|
|
||||||
|
| Action | Image |
|
||||||
|
|--------|-------|
|
||||||
|
| Script: Feature Panel |  |
|
||||||
|
| Script: Trigger/Retrigger |  |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user