Merge pull request 'feature/20250702-change-log' (#88) from feature/20250702-change-log into develop

Reviewed-on: #88
This commit is contained in:
Pham Huynh Duc Huy 2025-07-03 19:11:09 +08:00
commit 7b3d9fa15c
18 changed files with 46 additions and 47 deletions

View File

@ -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 |
| ------------------ | ------------- |
|![Win Point Overview](./img/05-on-reel-win-point/overview-1.png)|![Win Point Overview](./img/05-on-reel-win-point/overview-2.png)|
## 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`
![Prepare Prefabs](./img/05-on-reel-win-point/prepare-assets-1.png)
3. Prepare fonts
![Prepare Fonts](./img/05-on-reel-win-point/prepare-assets-2.png)
## 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.
![Label Component](./img/05-on-reel-win-point/setup-win-per-line-1.png)
- Set the **Font** the prepared assets.
![Label Component](./img/05-on-reel-win-point/setup-win-per-line-2.png)
![Label Component](./img/05-on-reel-win-point/setup-all-win-point.png)
:::tip
Follow game design specifications for position and size.
:::

View File

@ -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.
![Win Point Overview](../img/05-main-scene/win-point-on-reel/win-point-overview.png)
## Asset Preparation
- **Core Assets**:
- Path: `assets/core-assets/hyper-core/packages/on-reel-present-win-point/prefab`
- ![Core Prefab](../img/05-main-scene/win-point-on-reel/win-point-core.png)
- **Game Assets**:
- Path: `assets/game-assets/prefabs`
- ![Game Prefab](../img/05-main-scene/win-point-on-reel/prefab-on-reel-in-game.png)
## 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.
- ![Win Point Component](../img/05-main-scene/win-point-on-reel/win-point-component.png)
2. **Configure Node Targets**:
- Set the target node for win point labels and define size/offset.
- ![Node Target Component](../img/05-main-scene/win-point-on-reel/win-point-node-target-component.png)
- 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`
- ![Font Setup](../img/05-main-scene/win-point-on-reel/add-font.png)
- ![Label Component](../img/05-main-scene/win-point-on-reel/win-point-label-component.png)
**Tip**: Follow game design specifications for position and size.

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 700 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 620 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 623 KiB

View File

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