add content gamble

This commit is contained in:
dungdq 2025-05-19 17:07:34 +07:00
parent 9815c46cd9
commit 118c309575
3 changed files with 13 additions and 19 deletions

View File

@ -8,10 +8,11 @@ description: Display win and gamble limit notifications in-game.
## Overview
- Shows a win limit popup during gameplay.
- Win limit notifications can appear in the **main game** or **Free Spin mode**.
- Shows a win/gamble limit popup during gameplay.
- Win limit notifications can appear in the **main game**.
![Overview](../img/05-main-scene/win-limit/overview.png)
![Win](../img/05-main-scene/win-limit/overview.png)
![Gamble](../img/05-main-scene/win-limit/overview-gamble.png)
---
@ -23,8 +24,6 @@ description: Display win and gamble limit notifications in-game.
|----------------------------------------------------------|------------------------------|
| `assets/core-assets/hyper-core/packages/present/prefabs` | `present-win-limit-reached` |
---
### Scene Hierarchy
Place the prefab in the following scene structure:
@ -37,20 +36,6 @@ Canvas
```
![Scene Structure](../img/05-main-scene/win-limit/win-limit-component.png)
#### `hyper-present-win-limit-reached`
- Displays win/gamble limit notifications.
- Supports animations and user interactions.
- Ensure all node references are assigned in the Inspector.
#### `Animation`
| Status | Animation Path | Animation Name |
|--------|-------------------------------------------------------------------|--------------------------------------|
| Show | `assets/core-assets/slotty-core/packages/feature-game/animations` | `anim-show-feature-win-presentation` |
| Hide | `assets/core-assets/slotty-core/packages/feature-game/animations` | `anim-hide-feature-win-presentation` |
---
## Asset Setup
@ -59,6 +44,15 @@ Canvas
![Asset Setup](../img/05-main-scene/win-limit/assets-win-limit.png)
| Drag Sprite | Node Name |
|------------------------|----------------------|
| `you-won` | `you-won` |
| `win-limit-reached` | `win-limit-reached` |
| `gamble-limit-reached` |`gamble-limit-reached`|
| `btn...` | `btn-continue` |
| `text-continue` | `continue` |
### Font
- Use a **custom font** to match the win label style for your game theme.

Binary file not shown.

After

Width:  |  Height:  |  Size: 424 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 573 KiB

After

Width:  |  Height:  |  Size: 571 KiB