diff --git a/docs/02-setup-main-game/05-main-scene/17-win-limit.md b/docs/02-setup-main-game/05-main-scene/17-win-limit.md index e2b5d1a..ba72a13 100644 --- a/docs/02-setup-main-game/05-main-scene/17-win-limit.md +++ b/docs/02-setup-main-game/05-main-scene/17-win-limit.md @@ -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. diff --git a/docs/02-setup-main-game/img/05-main-scene/win-limit/overview-gamble.png b/docs/02-setup-main-game/img/05-main-scene/win-limit/overview-gamble.png new file mode 100644 index 0000000..572b2a8 Binary files /dev/null and b/docs/02-setup-main-game/img/05-main-scene/win-limit/overview-gamble.png differ diff --git a/docs/02-setup-main-game/img/05-main-scene/win-limit/overview.png b/docs/02-setup-main-game/img/05-main-scene/win-limit/overview.png index e5d117c..d700f4d 100644 Binary files a/docs/02-setup-main-game/img/05-main-scene/win-limit/overview.png and b/docs/02-setup-main-game/img/05-main-scene/win-limit/overview.png differ