2025-06-12 18:19:55 +07:00

3.5 KiB

sidebar_position, title, description
sidebar_position title description
8 Free Round Display and manage remaining free rounds in the game.

Free Round System

Overview

The Free Round system manages the display and logic for tracking remaining free rounds with fixed bet in the game, supporting both desktop and mobile platforms.

  • International theme popup Free Round International
  • Chinese theme popup Free Round Chinese
Platform Preview
Desktop Desktop Free Round
Mobile Mobile Free Round

Asset Preparation

  • Core Assets:
    • Path: assets/core-assets/hyper-core/packages/freeround-count-box/prefabs
    • Core Prefabs
  • Game Assets:
    • Path: assets/game-assets/prefabs
    • Game Prefabs

Setup

  1. General Configuration:

    • Ensure script references correct nodes.
    • General Setup
    • Properties:
      Property Description
      duration Duration of fade in/out animation (seconds).
      content Container node for the counter.
      labelLeft Label showing remaining free rounds.
    • Settings
  2. Platform Setup:

    • Desktop:
      • Add Platform-ui-controller component.
      • Desktop Setup
    • Mobile:
      • Add Platform-ui-controller and UI Mobile Position components.
      • Mobile Setup
  3. Asset Setup:

    • Desktop:
      • Path: assets/game-assets/textures/desktop/preloads/main-game/custom-scale
      • Desktop Assets
    • Mobile:
      • Path: assets/game-assets/textures/mobile/preloads/main-game/custom-scale
      • Mobile Assets
    • Common:
      • Free Round Background: Background Asset
  4. Font Setup:

    • Font Setup

Tip:

  • Follow game design for position and size.
  • Use separate textures for Desktop and Mobile.
  • Ensure the main scene includes the popup panel (See Popup Panel Guide).

Game Result Example

Platform Popup Action Result
Desktop Popup Desktop Click → Start Result Desktop
Mobile Popup Mobile Click → Start Result Mobile

TotalWin