Merge branch 'develop' into feature/add-jackpot-panel

This commit is contained in:
dungdq 2025-05-20 17:46:41 +07:00
commit 7419b647ec

View File

@ -20,7 +20,8 @@ description: Display and manage remaining free rounds in the game.
## Implementation ## Implementation
### Prefab Location
### Prepare Assets
- Copy or parse prefabs from core to game assets. - Copy or parse prefabs from core to game assets.
@ -38,7 +39,7 @@ description: Display and manage remaining free rounds in the game.
--- ---
### General Setup ### Setup
- Ensure the script references the correct nodes. - Ensure the script references the correct nodes.
@ -56,50 +57,50 @@ description: Display and manage remaining free rounds in the game.
--- ---
### Platform Setup #### Platform Setup
- Ensure that the desktop and mobile prefabs are positioned differently in the main game scene for proper layout on each platform. - Ensure that the desktop and mobile prefabs are positioned differently in the main game scene for proper layout on each platform.
#### Desktop ##### Desktop
![Desktop](../img/05-main-scene/freeround-counter/freeround-counter-setup-desktop.png) ![Desktop](../img/05-main-scene/freeround-counter/freeround-counter-setup-desktop.png)
| Component | Description | | Component | Description |
|-------------------------|-------------| |-------------------------|-------------|
| `Platform-ui-controller` | [View Setup](http://localhost:3000/docs/faqs/setup-cocos-scene#platform-ui-controller) | | `Platform-ui-controller` | [View Setup](/docs/faqs/setup-cocos-scene#platform-ui-controller) |
#### Mobile ##### Mobile
![Desktop](../img/05-main-scene/freeround-counter/freeround-counter-setup-mobile.png) ![Desktop](../img/05-main-scene/freeround-counter/freeround-counter-setup-mobile.png)
| Component | Description | | Component | Description |
|-------------------------|-------------| |-------------------------|-------------|
| `Platform-ui-controller` | [View Setup](http://localhost:3000/docs/faqs/setup-cocos-scene#platform-ui-controller) | | `Platform-ui-controller` | [View Setup](/docs/faqs/setup-cocos-scene#platform-ui-controller) |
| `UI Mobile Position` | [Mobile Position Setup](http://localhost:3000/docs/faqs/setup-cocos-scene#ui-mobile-landscape--portrait--position) | | `UI Mobile Position` | [Mobile Position Setup](/docs/faqs/setup-cocos-scene#ui-mobile-landscape--portrait--position) |
--- ---
### Asset Setup #### Asset Setup
#### Desktop ##### Desktop
| Path | Preview | | Path | Preview |
|------|---------| |------|---------|
| `assets/game-assets/textures/desktop/preloads/main-game/custom-scale` | ![Assets Desktop](../img/05-main-scene/freeround-counter/assets-freeround-desktop.png) | | `assets/game-assets/textures/desktop/preloads/main-game/custom-scale` | ![Assets Desktop](../img/05-main-scene/freeround-counter/assets-freeround-desktop.png) |
#### Mobile ##### Mobile
| Path | Preview | | Path | Preview |
|------|---------| |------|---------|
| `assets/game-assets/textures/mobile/preloads/main-game/custom-scale` | ![Assets Mobile](../img/05-main-scene/freeround-counter/assets-freeround-mobile.png) | | `assets/game-assets/textures/mobile/preloads/main-game/custom-scale` | ![Assets Mobile](../img/05-main-scene/freeround-counter/assets-freeround-mobile.png) |
#### Common ##### Common
- **Free Round Background** - **Free Round Background**
![Assets Mobile](../img/05-main-scene/freeround-counter/assets-freeround-background.png) ![Assets Mobile](../img/05-main-scene/freeround-counter/assets-freeround-background.png)
🔗 More: [Game Asset Structure](http://localhost:3000/docs/category/game-asset-structure) 🔗 More: [Game Asset Structure](/docs/category/game-asset-structure)
:::tip :::tip
- **Position & Size**: Follow the game design layout. - **Position & Size**: Follow the game design layout.
@ -108,7 +109,7 @@ description: Display and manage remaining free rounds in the game.
--- ---
### Font Setup #### Font Setup
| Preview | | Preview |
|---------| |---------|
@ -119,7 +120,7 @@ description: Display and manage remaining free rounds in the game.
## Game Result Example ## Game Result Example
Make sure the main scene includes the popup panel. Make sure the main scene includes the popup panel.
🔗 [See Popup Panel Guide](http://localhost:3000/docs/setup-main-game/main-scene/popup-panel#multiple-popup-panel) 🔗 [See Popup Panel Guide](/docs/setup-main-game/main-scene/popup-panel#multiple-popup-panel)
| Platform | Popup | Action | Result | | Platform | Popup | Action | Result |
|----------|--------|---------------|--------| |----------|--------|---------------|--------|