add content win point on reel
@ -1,11 +0,0 @@
|
||||
---
|
||||
sidebar_position: 5
|
||||
---
|
||||
|
||||
# Prensent Win
|
||||
|
||||
> To be added
|
||||
|
||||
---
|
||||
|
||||
> To be added
|
@ -0,0 +1,68 @@
|
||||
---
|
||||
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.
|
||||
|
||||

|
||||
|
||||
## Implementation
|
||||
|
||||
### Core Prefabs
|
||||
|
||||
| Path | Example |
|
||||
|------|---------|
|
||||
| `assets\core-assets\hyper-core\packages\on-reel-present-win-point\prefab` |  |
|
||||
|
||||
### 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 |
|
||||
|
||||

|
||||
|
||||
#### Steps 2.
|
||||
- Manages the display and animation of win point labels at specific reel positions in the slot game.
|
||||
|
||||

|
||||
|
||||
| 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
|
||||
|
||||

|
||||
|
||||
- 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`||
|
||||
|
||||
|
||||
|
||||
## Game Result Examples
|
||||
|
||||
|
|
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 620 KiB |
After Width: | Height: | Size: 623 KiB |