update prepare assets to freeround

This commit is contained in:
dungdq 2025-05-19 12:03:32 +07:00
parent 378dfe158c
commit 21297023ce
7 changed files with 31 additions and 9 deletions

View File

@ -42,7 +42,7 @@ description: Display and manage remaining free rounds in the game.
![Copied Prefab](../img/05-main-scene/freeround-counter/freeround-counter-setting-general.png)
**(platform)**: Desktop / Mobile <span class="red-star">*</span>
**platform** **(<span class="red-star">*</span>)**: Desktop / Mobile
| Property | Description |
|---------------|------------------------------------------|
@ -56,22 +56,49 @@ description: Display and manage remaining free rounds in the game.
#### Desktop
![Overview](../img/05-main-scene/freeround-counter/freeround-counter-setup-desktop.png)
| Component | Description |
|--------------------------|---------------------------------------------------------------------------------------------------------------|
| `Platform-ui-controller` | [Platform UI Controller](http://localhost:3000/docs/faqs/setup-cocos-scene#Platform-ui-controller) |
![Overview](../img/05-main-scene/freeround-counter/freeround-counter-setup-desktop.png)
#### Prepare Assets
| Path in Game | Example |
|--------------------------|---------------------------------------------------------------------------------------------------------------|
| `assets\game-assets\textures\desktop\preloads\main-game\custom-scale` | ![Assets Desktop](../img/05-main-scene/freeround-counter/assets-freeround-desktop.png) |
---
#### Mobile
![Overview](../img/05-main-scene/freeround-counter/freeround-counter-setup-mobile.png)
| Component | Description |
|-----------------------|--------------------------------------------------------------------------------------------------------------------------|
| `Platform-ui-controller` | [Platform UI Controller](http://localhost:3000/docs/faqs/setup-cocos-scene#Platform-ui-controller) |
| `UI Mobile Position` | [UI Mobile Position](http://localhost:3000/docs/faqs/setup-cocos-scene#ui-mobile-landscape--portrait--position) |
![Overview](../img/05-main-scene/freeround-counter/freeround-counter-setup-mobile.png)
#### Prepare Assets
| Path in Game | Example |
|--------------------------|---------------------------------------------------------------------------------------------------------------|
| `assets\game-assets\textures\mobile\preloads\main-game\custom-scale` | ![Assets Mobile](../img/05-main-scene/freeround-counter/assets-freeround-mobile.png) |
#### Common Assets
- Free Round Background:
![Assets Mobile](../img/05-main-scene/freeround-counter/assets-freeround-background.png)
🔗 More Info To Pack Assets: [Game Asset Structure](http://localhost:3000/docs/category/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
@ -88,15 +115,10 @@ description: Display and manage remaining free rounds in the game.
</tbody>
</table>
:::tip
- **Position And Size**: Follow Game Design.
:::
## Game Result Examples
*To show the free round popup, make sure the main scene includes the popup panel.*
<span class="red-star">*</span> More Detail: [Popup Panel](http://localhost:3000/docs/setup-main-game/main-scene/popup-panel#multiple-popup-panel)
<span class="red-star">*</span> More Info: [Popup Panel](http://localhost:3000/docs/setup-main-game/main-scene/popup-panel#multiple-popup-panel)
|Platform|Popup|Action|Result|
|--------|-----|------|------|

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB