Merge remote-tracking branch 'origin/feature/add-setup-ui-panel-main-game' into feature/add-set-up-background-main-game
@ -6,7 +6,7 @@ sidebar_position: 3
|
|||||||
|
|
||||||
Set **Javascript Engine Path** to a **custom Cocos Engine**.
|
Set **Javascript Engine Path** to a **custom Cocos Engine**.
|
||||||
|
|
||||||
Thank to the open source nature of Cocos Creator, we are able to customize some of the function in the source code to meet the requirement for Hyper Slot Game.
|
Thanks to the open source nature of Cocos Creator, we are able to customize some of the function in the source code to meet the requirement for Hyper Slot Game.
|
||||||
|
|
||||||
For the detail of the Custom Engine, take a look at this [**Custom Cocos Engine documentation**](../custom-cocos-engine/custom-cocos-engine.md)
|
For the detail of the Custom Engine, take a look at this [**Custom Cocos Engine documentation**](../custom-cocos-engine/custom-cocos-engine.md)
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ Rename those scenes:
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
Inside `assets/game-assets/scripts/`, create a folder called `custome-scaler` then add a script `custom-scale-data.js`.
|
Inside `assets/game-assets/scripts/`, create a folder called `custom-scaler` then add a script `custom-scale-data.js`.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
@ -155,7 +155,7 @@ Rename the copied prefabs by removing unnecessary prefixes:
|
|||||||
|
|
||||||
#### Customize *`button-auto-selection`* Label
|
#### Customize *`button-auto-selection`* Label
|
||||||
|
|
||||||
**Follow Game Design:**
|
**Follow Design:**
|
||||||
Use the `template-label-auto-selection` to customize the appearance of the label inside the `button-auto-selection` prefab.
|
Use the `template-label-auto-selection` to customize the appearance of the label inside the `button-auto-selection` prefab.
|
||||||
|
|
||||||
| Component | Description |
|
| Component | Description |
|
||||||
@ -185,7 +185,7 @@ The `FormatText` property controls text formatting behavior for label components
|
|||||||
---
|
---
|
||||||
#### Step 3: Setup Ui In Main Scenes
|
#### Step 3: Setup Ui In Main Scenes
|
||||||
|
|
||||||
Create the following node configuration in your main scene:
|
Create new node and configuration in your main scene:
|
||||||

|

|
||||||
|
|
||||||
##### Platform Node Spawner Settings
|
##### Platform Node Spawner Settings
|
||||||
@ -244,7 +244,7 @@ Rename the copied prefabs by removing unnecessary prefixes:
|
|||||||
|
|
||||||
#### Step 3: Setup Ui In Main Scenes
|
#### Step 3: Setup Ui In Main Scenes
|
||||||
|
|
||||||
Create the following node configuration in your main scene:
|
Create new node and configuration in your main scene:
|
||||||

|

|
||||||
|
|
||||||
##### Platform Node Spawner Settings
|
##### Platform Node Spawner Settings
|
||||||
@ -275,7 +275,7 @@ Create the following node configuration in your main scene:
|
|||||||
|
|
||||||
#### Step 4: Setup Color For Menu Mobile UI
|
#### Step 4: Setup Color For Menu Mobile UI
|
||||||
|
|
||||||
**Follow Game Design For Mobile UI:**
|
**Follow Design:**
|
||||||
|
|
||||||
| |  |
|
| |  |
|
||||||
|---------|-------|
|
|---------|-------|
|
||||||
|
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 144 KiB |
Before Width: | Height: | Size: 260 KiB After Width: | Height: | Size: 264 KiB |
Before Width: | Height: | Size: 257 KiB After Width: | Height: | Size: 269 KiB |
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 25 KiB |