2025-05-15 18:37:30 +07:00

2.5 KiB

sidebar_position
sidebar_position
5

Win Point On Reel

Overview

  • Displays win points for each payline, including scatter wins.
  • Shows the win points as the last item on each line.

Overview

Implementation

Core Prefabs

Path Example
assets\core-assets\hyper-core\packages\on-reel-present-win-point\prefab Overview

Setup Steps

Steps 1.

  • Add the win point on reel prefab to your main scene.

    Component Description
    on-reel-present-win-point Component to show/hide points on reels
    hyper-present-win-point Manages win point presentation flow

    Overview

Steps 2.

  • Manages the display and animation of win point labels at specific reel positions in the slot game.

    Overview

    Property Type Description
    labelPosition cc.Vec2 Offset position for the win point label
    nodeTarget cc.Node Target node containing the label
    cellItemSize cc.Vec2 Size of each slot cell
    defaultFontSize number Default font size for the label

Steps 3

  • Set Up Label

    Overview

    • Add label-point:

      • Display: Shows win points on reels.
      • Formatting: Supports number and currency formats for localization.
    • Add Font:

      • Add a custom font asset to the win point component.
      path example
      path: assets\game-assets\fonts\preloads\main-game\fnt-win-point-on-reel Overview

Game Result Examples

Overview|