3.5 KiB
3.5 KiB
sidebar_position
sidebar_position |
---|
5 |
Win Point on Reel
Overview
- Displays win points for each payline, including scatter wins.
Implementation
Prefab Locations
In Core
Path | Example |
---|---|
assets\core-assets\hyper-core\packages\on-reel-present-win-point\prefab |
 |
In Game
Path | Example |
---|---|
assets\game-assets\prefabs |
 |
Setup Steps
Steps 1: Add Prefab to Scene
Add the win point on reel prefab to your main scene.
Component | Description |
---|---|
on-reel-present-win-point |
A component to **show/hide** points on reels |
hyper-present-win-point |
Manages win point presentation flow |

Steps 2: Configure Node Targets
Set the target node where each win point label appears and define its size and offset.

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 Component
-
Component:
- Displays win values on the reels.
- Supports formatted text (number, currency).
-
Custom Font:
Add a custom font to style the win label.
Path | Example |
---|---|
assets\game-assets\fonts\preloads\main-game\fnt-win-point-on-reel |
 |
:::tip
- Position And Size: Follow Game Design. :::