add concont
This commit is contained in:
parent
10b1a51b1c
commit
89f3877352
@ -8,38 +8,67 @@ description: Display win and gamble limit notifications in-game.
|
||||
|
||||
## Overview
|
||||
|
||||
This component handles the display of **win limit** or **gamble limit** notifications during gameplay.
|
||||
It ensures players are informed when a maximum win condition is reached in a slot game.
|
||||
- Shows a win limit popup during gameplay.
|
||||
- Win limit notifications can appear in the **main game** or **Free Spin mode**.
|
||||
|
||||

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

|
||||
- component Animation:
|
||||
```
|
||||
|
||||
|Status| Path | Show |
|
||||
|------|-------------------------------------------------------------------|--------------------------------------|
|
||||
|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` |
|
||||

|
||||
|
||||
#### `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
|
||||
|
||||
- Drag and drop the required image onto the node in the editor:
|
||||
|
||||

|
||||
|
||||
### 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.
|
||||
- Configure win limits per game.
|
||||
:::
|
||||
|
BIN
docs/02-setup-main-game/img/05-main-scene/win-limit/add-font.png
Normal file
BIN
docs/02-setup-main-game/img/05-main-scene/win-limit/add-font.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Binary file not shown.
After Width: | Height: | Size: 44 KiB |
BIN
docs/02-setup-main-game/img/05-main-scene/win-limit/overview.png
Normal file
BIN
docs/02-setup-main-game/img/05-main-scene/win-limit/overview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 573 KiB |
Loading…
x
Reference in New Issue
Block a user