2025-06-05 14:30:19 +07:00

1.7 KiB
Raw Blame History

sidebar_position, title, description
sidebar_position title description
17 Win Limit Display win limit popups during gameplay.

Win Limit

Overview

The Win Limit system displays popups when specific win conditions are met, enhancing player feedback and interaction.

  • Win Limit Popup: Appears when a players win points reach a predefined threshold. Win Limit Popup

  • Gamble Win Limit Popup: Triggered during the gamble feature when the maximum number of gamble attempts (typically 5) is reached.

    Gamble Win Limit Popup

Prepare Assets

Prefab Location

Path Prefab Name
assets/core-assets/hyper-core/packages/present/prefabs present-win-limit-reached

Scene Hierarchy

Place the prefab in the following scene structure:

Canvas
└── [main-view]
    └── [game-view]
        └── [present-win-limit-reached]
  • Scene Structure

Setup

Assets

  • Drag and drop the required images onto the corresponding nodes in the editor.
  • Asset Setup
Sprite Node Name
you-won you-won
win-limit-reached win-limit-reached
gamble-limit-reached gamble-limit-reached
btn-normal btn-continue
text-continue continue

Font

  • Use a custom font to match the win label style, aligning with the games theme.
  • Font Setup

Tip:

  • Follow the game design layout for asset placement and font styling.
  • Verify win limit configurations to ensure they match game-specific thresholds.