Merge branch 'develop' into feature/add-jackpot-panel
This commit is contained in:
commit
7419b647ec
@ -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
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
| 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
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
| 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/game-assets/textures/desktop/preloads/main-game/custom-scale` |  |
|
||||||
|
|
||||||
#### Mobile
|
##### Mobile
|
||||||
|
|
||||||
| Path | Preview |
|
| Path | Preview |
|
||||||
|------|---------|
|
|------|---------|
|
||||||
| `assets/game-assets/textures/mobile/preloads/main-game/custom-scale` |  |
|
| `assets/game-assets/textures/mobile/preloads/main-game/custom-scale` |  |
|
||||||
|
|
||||||
#### Common
|
##### Common
|
||||||
|
|
||||||
- **Free Round Background**
|
- **Free Round Background**
|
||||||

|

|
||||||
|
|
||||||
🔗 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 |
|
||||||
|----------|--------|---------------|--------|
|
|----------|--------|---------------|--------|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user