update prepare assets to freeround
@ -42,7 +42,7 @@ description: Display and manage remaining free rounds in the game.
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
**(platform)**: Desktop / Mobile <span class="red-star">*</span>
|
**platform** **(<span class="red-star">*</span>)**: Desktop / Mobile
|
||||||
|
|
||||||
| Property | Description |
|
| Property | Description |
|
||||||
|---------------|------------------------------------------|
|
|---------------|------------------------------------------|
|
||||||
@ -56,22 +56,49 @@ description: Display and manage remaining free rounds in the game.
|
|||||||
|
|
||||||
#### Desktop
|
#### Desktop
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
| Component | Description |
|
| Component | Description |
|
||||||
|--------------------------|---------------------------------------------------------------------------------------------------------------|
|
|--------------------------|---------------------------------------------------------------------------------------------------------------|
|
||||||
| `Platform-ui-controller` | [Platform UI Controller](http://localhost:3000/docs/faqs/setup-cocos-scene#Platform-ui-controller) |
|
| `Platform-ui-controller` | [Platform UI Controller](http://localhost:3000/docs/faqs/setup-cocos-scene#Platform-ui-controller) |
|
||||||
|
|
||||||

|
|
||||||
|
#### Prepare Assets
|
||||||
|
|
||||||
|
| Path in Game | Example |
|
||||||
|
|--------------------------|---------------------------------------------------------------------------------------------------------------|
|
||||||
|
| `assets\game-assets\textures\desktop\preloads\main-game\custom-scale` |  |
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
#### Mobile
|
#### Mobile
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
| Component | Description |
|
| Component | Description |
|
||||||
|-----------------------|--------------------------------------------------------------------------------------------------------------------------|
|
|-----------------------|--------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `Platform-ui-controller` | [Platform UI Controller](http://localhost:3000/docs/faqs/setup-cocos-scene#Platform-ui-controller) |
|
| `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) |
|
| `UI Mobile Position` | [UI Mobile Position](http://localhost:3000/docs/faqs/setup-cocos-scene#ui-mobile-landscape--portrait--position) |
|
||||||
|
|
||||||

|
|
||||||
|
#### Prepare Assets
|
||||||
|
|
||||||
|
| Path in Game | Example |
|
||||||
|
|--------------------------|---------------------------------------------------------------------------------------------------------------|
|
||||||
|
| `assets\game-assets\textures\mobile\preloads\main-game\custom-scale` |  |
|
||||||
|
|
||||||
|
#### Common Assets
|
||||||
|
|
||||||
|
- Free Round Background:
|
||||||
|

|
||||||
|
|
||||||
|
🔗 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
|
### Font Setup
|
||||||
|
|
||||||
@ -88,15 +115,10 @@ description: Display and manage remaining free rounds in the game.
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
:::tip
|
|
||||||
- **Position And Size**: Follow Game Design.
|
|
||||||
:::
|
|
||||||
|
|
||||||
|
|
||||||
## Game Result Examples
|
## Game Result Examples
|
||||||
|
|
||||||
*To show the free round popup, make sure the main scene includes the popup panel.*
|
*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|
|
|Platform|Popup|Action|Result|
|
||||||
|--------|-----|------|------|
|
|--------|-----|------|------|
|
||||||
|
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 63 KiB |
After Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 23 KiB |