61 lines
2.6 KiB
Markdown
61 lines
2.6 KiB
Markdown
---
|
|
sidebar_position: 15
|
|
---
|
|
|
|
# Jackpot Panel
|
|
|
|
## Overview
|
|
The **Jackpot Feature** offers multiple prize tiers, each with increasing value, providing players with frequent smaller wins and the chance for a large top prize. The panel is responsive, supporting both desktop and mobile layouts.
|
|
|
|
**Jackpot Tiers**:
|
|
| Tier | Description | Preview |
|
|
|------|-------------|---------|
|
|
| Grand | The top prize, rare and often worth thousands or millions (progressive). |  |
|
|
| Major | A significant prize, less frequent but substantial. |  |
|
|
| Minor | A moderately valuable prize, relatively common. |  |
|
|
| Mini | The smallest prize, easiest to win. |  |
|
|
|
|
**Platform Support**:
|
|
| Orientation | Preview |
|
|
|-------------|---------|
|
|
| Desktop |  |
|
|
| Mobile |  |
|
|
|
|
## Implementation
|
|
|
|
### Prepare Assets
|
|
- **Prefab Location**:
|
|
- Path: `assets/core-assets/jackpot-package/prefabs`
|
|
- Example: 
|
|
|
|
### Setup
|
|
|
|
#### Jackpot Runner
|
|
|
|
##### Desktop
|
|
1. **Add Node**:
|
|
- Integrate the jackpot node into the main scene.
|
|
- 
|
|
|
|
##### Mobile
|
|
1. **Configure Node**:
|
|
- Set up the jackpot node for both landscape and portrait orientations.
|
|
- Use `UI Mobile Landscape Position` and `UI Mobile Portrait Position` components for responsiveness.
|
|
- 
|
|
|
|
2. **Platform Node Spawner**:
|
|
- Example: 
|
|
|
|
#### Result Panel
|
|
- Ensure the jackpot panel displays correctly across all platforms and orientations.
|
|
- 
|
|
|
|
**Tip**: Follow the game design layout for positioning and sizing.
|
|
|
|
## Game Result Examples
|
|
| Win Tier | Example |
|
|
|----------|---------|
|
|
| Grand |  |
|
|
| Major |  |
|
|
| Minor |  |
|
|
| Mini |  | |