5.7 KiB
5.7 KiB
sidebar_position, title, description
sidebar_position | title | description |
---|---|---|
16 | Free Round | Display and manage remaining free rounds in the game. |
Free Round
Overview
- Handles the display and logic for tracking remaining free rounds in a slot game.
- Supports both desktop and mobile, including animation and event handling.
Orientation | Preview |
---|---|
Desktop | ![]() |
Mobile | ![]() |
Implementation
Prefab Location
In Core
Path | Example |
---|---|
assets\core-assets\hyper-core\packages\freeround-count-box\prefabs |
![]() |
In Game
Path | Example |
---|---|
assets\game-assets\prefabs |
![]() |
General Setup
- Component that manages and displays the free rounds counter.
platform (*): Desktop / Mobile
Property | Description |
---|---|
duration |
Animation duration in seconds (fade In/Out) |
content |
Container node for the counter |
labelLeft |
Label displaying remaining free rounds |
Platform Setup
Desktop
Component | Description |
---|---|
Platform-ui-controller |
Platform UI Controller |
Prepare Assets
Path in Game | Example |
---|---|
assets\game-assets\textures\desktop\preloads\main-game\custom-scale |
![]() |
Mobile
Component | Description |
---|---|
Platform-ui-controller |
Platform UI Controller |
UI Mobile Position |
UI Mobile Position |
Prepare Assets
Path in Game | Example |
---|---|
assets\game-assets\textures\mobile\preloads\main-game\custom-scale |
![]() |
Common Assets
🔗 More Info To Pack Assets: Game Asset Structure
:::tip
- Position and Size: Follow the game design specifications.
- Asset Packing: Use separate texture packs for Desktop and Mobile platforms.
:::
Font Setup
Preview |
---|
 |
Game Result Examples
To show the free round popup, make sure the main scene includes the popup panel.
* More Info: Popup Panel
Platform | Popup | Action | Result |
---|---|---|---|
Desktop | ![]() |
click → Start | ![]() |
Mobile | ![]() |
click → Start | ![]() |