3.7 KiB
3.7 KiB
sidebar_position
sidebar_position |
---|
15 |
Jackpot Setup
Overview
- The jackpot feature includes four tiers: Grand, Major, Minor, and Mini, each offering different payout values.
Tier | Description | Preview |
---|---|---|
Grand | Highest and rarest jackpot | ![]() |
Major | High-value, less rare | ![]() |
Minor | Medium, more frequent | ![]() |
Mini | Lowest, frequent small wins | ![]() |
- The panel is responsive and supports both desktop and mobile layouts:
Orientation | Preview |
---|---|
Desktop | ![]() |
Mobile | ![]() |
Implementation
Core Prefabs
Setup Steps
Desktop
-
Add the jackpot prefab to your main scene.
-
Set its position to (0, 0).
 More info: [Platform Node Spawner](http://localhost:3000/docs/faqs/setup-cocos-scene#platform-node-spawner)
Mobile
-
Configure the jackpot node for both landscape and portrait orientations.
-
Use
UI Mobile Position
for a responsive layout. More info: [UI Mobile Position](http://localhost:3000/docs/faqs/setup-cocos-scene#ui-mobile-landscape--portrait--position)
-
Example using
Platform Node Spawner
: More info: [Platform Node Spawner](http://localhost:3000/docs/faqs/setup-cocos-scene#platform-node-spawner)
Result
-
The jackpot panel works seamlessly across all platforms and orientations.
 More info: [Node Spawner](http://localhost:3000/docs/faqs/setup-cocos-scene#node-spawner)
:::tip Sibling Index Order:
Game Result Examples
Win Tier | Example |
---|---|
Grand | ![]() |
Major | ![]() |
Minor | ![]() |
Mini | ![]() |