Compare commits
1 Commits
3374d3516b
...
92f3ff6f39
Author | SHA1 | Date | |
---|---|---|---|
92f3ff6f39 |
@ -1,72 +0,0 @@
|
|||||||
---
|
|
||||||
sidebar_position: 17
|
|
||||||
title: Win Limit
|
|
||||||
description: Display limit win
|
|
||||||
---
|
|
||||||
|
|
||||||
# Win Limit
|
|
||||||
|
|
||||||
### Overview
|
|
||||||
|
|
||||||
#### Win Limit
|
|
||||||
|
|
||||||
- The **Win Limit** popup appears during gameplay when the player's win points reach a predefined threshold.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
#### Gamble Win Limit
|
|
||||||
|
|
||||||
- The **Gamble Win Limit** popup is triggered during the gamble feature when the player reaches the maximum number of allowed gamble attempts (typically 5).
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
### Prefab Location
|
|
||||||
|
|
||||||
| Path | Prefab Name |
|
|
||||||
|----------------------------------------------------------|------------------------------|
|
|
||||||
| `assets/core-assets/hyper-core/packages/present/prefabs` | `present-win-limit-reached` |
|
|
||||||
|
|
||||||
### Scene Hierarchy
|
|
||||||
|
|
||||||
Place the prefab in the following scene structure:
|
|
||||||
|
|
||||||
```
|
|
||||||
Canvas
|
|
||||||
└── [main-view]
|
|
||||||
└── [game-view]
|
|
||||||
└── [present-win-limit-reached]
|
|
||||||
```
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
### Asset Setup
|
|
||||||
|
|
||||||
- Drag and drop the required image onto the node in the editor:
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
| Drag Sprite | Node Name |
|
|
||||||
|-------------------------|-----------------------|
|
|
||||||
| `you-won` | `you-won` |
|
|
||||||
| `win-limit-reached` | `win-limit-reached` |
|
|
||||||
| `gamble-limit-reached` | `gamble-limit-reached`|
|
|
||||||
| `btn-normal` | `btn-continue` |
|
|
||||||
| `text-continue` | `continue` |
|
|
||||||
|
|
||||||
|
|
||||||
### Font
|
|
||||||
|
|
||||||
- Use a **custom font** to match the win label style for your game theme.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
:::tip
|
|
||||||
- Follow the game design layout for assets and fonts.
|
|
||||||
- Win limit configuration may vary by game.
|
|
||||||
:::
|
|
Binary file not shown.
Before Width: | Height: | Size: 16 KiB |
Binary file not shown.
Before Width: | Height: | Size: 44 KiB |
Binary file not shown.
Before Width: | Height: | Size: 424 KiB |
Binary file not shown.
Before Width: | Height: | Size: 571 KiB |
Binary file not shown.
Before Width: | Height: | Size: 72 KiB |
Binary file not shown.
Before Width: | Height: | Size: 377 KiB |
Loading…
x
Reference in New Issue
Block a user