Merge branch 'develop' into feature/add-gamle

This commit is contained in:
dungdq 2025-05-20 17:47:27 +07:00
commit d8e4da4d20

View File

@ -20,7 +20,8 @@ description: Display and manage remaining free rounds in the game.
## Implementation
### Prefab Location
### Prepare 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.
@ -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.
#### Desktop
##### Desktop
![Desktop](../img/05-main-scene/freeround-counter/freeround-counter-setup-desktop.png)
| 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)
| Component | Description |
|-------------------------|-------------|
| `Platform-ui-controller` | [View Setup](http://localhost:3000/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) |
| `Platform-ui-controller` | [View Setup](/docs/faqs/setup-cocos-scene#platform-ui-controller) |
| `UI Mobile Position` | [Mobile Position Setup](/docs/faqs/setup-cocos-scene#ui-mobile-landscape--portrait--position) |
---
### Asset Setup
#### Asset Setup
#### Desktop
##### Desktop
| Path | Preview |
|------|---------|
| `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 |
|------|---------|
| `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**
![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
- **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 |
|---------|
@ -119,7 +120,7 @@ description: Display and manage remaining free rounds in the game.
## Game Result Example
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 |
|----------|--------|---------------|--------|