Merge pull request 'feature/20250702-change-log' (#88) from feature/20250702-change-log into develop
Reviewed-on: #88
@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 5
|
||||||
|
---
|
||||||
|
|
||||||
|
# On Reel Win Point
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
- The **Win Point Per Line** system displays win points for each payline, including scatter wins.
|
||||||
|
- The **All Win Point** system displays win point at center.
|
||||||
|
|
||||||
|
| Win Point Per Line | All Win Point |
|
||||||
|
| ------------------ | ------------- |
|
||||||
|
|||
|
||||||
|
|
||||||
|
## Asset Preparation
|
||||||
|
|
||||||
|
1. Locate all template prefabs: `assets/core-assets/hyper-core/packages/on-reel-present-win-point/prefab`
|
||||||
|
2. Copy and paste them to the game assets location: `assets/game-assets/prefabs`
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
3. Prepare fonts
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Setup
|
||||||
|
- Add the `on-reel-present-win-point`, `on-reel-present-all-win-point` prefab to the main scene.
|
||||||
|
|
||||||
|
- Set the **Label Position**, **Cell Item Size**, and **Defaut Font Size** according to the game design.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
- Set the **Font** the prepared assets.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
:::tip
|
||||||
|
Follow game design specifications for position and size.
|
||||||
|
:::
|
@ -1,47 +0,0 @@
|
|||||||
---
|
|
||||||
sidebar_position: 5
|
|
||||||
---
|
|
||||||
|
|
||||||
# Win Point on Reel
|
|
||||||
|
|
||||||
## Overview
|
|
||||||
The **Win Point on Reel** system displays win points for each payline, including scatter wins.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## Asset Preparation
|
|
||||||
- **Core Assets**:
|
|
||||||
- Path: `assets/core-assets/hyper-core/packages/on-reel-present-win-point/prefab`
|
|
||||||
- 
|
|
||||||
|
|
||||||
- **Game Assets**:
|
|
||||||
- Path: `assets/game-assets/prefabs`
|
|
||||||
- 
|
|
||||||
|
|
||||||
## Setup
|
|
||||||
1. **Add Prefab to Scene**:
|
|
||||||
- Add the `on-reel-present-win-point` prefab to the main scene.
|
|
||||||
- Components:
|
|
||||||
- `on-reel-present-win-point`: Controls visibility of win points.
|
|
||||||
- `hyper-present-win-point`: Manages presentation flow.
|
|
||||||
- 
|
|
||||||
|
|
||||||
2. **Configure Node Targets**:
|
|
||||||
- Set the target node for win point labels and define size/offset.
|
|
||||||
- 
|
|
||||||
- Properties:
|
|
||||||
| 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. |
|
|
||||||
|
|
||||||
3. **Set Up Label Component**:
|
|
||||||
- Displays win values with support for formatted text (number, currency).
|
|
||||||
- Add a custom font:
|
|
||||||
- Path: `assets/game-assets/fonts/preloads/main-game/fnt-win-point-on-reel`
|
|
||||||
- 
|
|
||||||
- 
|
|
||||||
|
|
||||||
**Tip**: Follow game design specifications for position and size.
|
|
After Width: | Height: | Size: 660 KiB |
After Width: | Height: | Size: 700 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 9.9 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 47 KiB |
After Width: | Height: | Size: 88 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 620 KiB |
Before Width: | Height: | Size: 623 KiB |
@ -3,3 +3,8 @@ sidebar_position: 3
|
|||||||
title: Template
|
title: Template
|
||||||
|
|
||||||
---
|
---
|
||||||
|
# Change history
|
||||||
|
---
|
||||||
|
## 02/07/2025
|
||||||
|
- [HYPER-CORE] Add feature **ON REEL PRESENT ALL WIN POINT** for non-cascade games.
|
||||||
|
🔗[More Info](/docs/setup-main-game/main-scene/on-reel-win-point)
|