2025-05-22 14:09:43 +07:00

2.6 KiB

sidebar_position
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). Grand Jackpot
Major A significant prize, less frequent but substantial. Major Jackpot
Minor A moderately valuable prize, relatively common. Minor Jackpot
Mini The smallest prize, easiest to win. Mini Jackpot

Platform Support:

Orientation Preview
Desktop Desktop Jackpot
Mobile Mobile Jackpot

Implementation

Prepare Assets

  • Prefab Location:
    • Path: assets/core-assets/jackpot-package/prefabs
    • Example: Core Prefabs

Setup

Jackpot Runner

Desktop
  1. Add Node:
    • Integrate the jackpot node into the main scene.
    • Desktop Setup
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.
    • Mobile Setup
  2. Platform Node Spawner:

    • Example: Mobile Spawner

Result Panel

  • Ensure the jackpot panel displays correctly across all platforms and orientations.
  • Result Panel

Tip: Follow the game design layout for positioning and sizing.

Game Result Examples

Win Tier Example
Grand Grand Win
Major Major Win
Minor Minor Win
Mini Mini Win