update image, content

This commit is contained in:
dungdq 2025-05-20 13:35:16 +07:00
parent 9ac38f2211
commit 3e74750b6b
6 changed files with 3 additions and 39 deletions

View File

@ -36,18 +36,7 @@ sidebar_position: 15
#### Desktop
- Add the jackpot prefab to your main scene:
- create new node,
- add component `platform-node-spawner`
- Set its position to **(0, 0)**.
- **Scene Hierarchy**
```
Canvas
└── [main-view]
└── [game-view]
├── [logo]
└── [jackpot-runner-panel-desktop-spawner]
```
- The node jackpot to your main scene:
![Desktop](../img/05-main-scene/jackpot-panel/jackpot-in-desktop.png)
@ -56,15 +45,7 @@ sidebar_position: 15
#### Mobile
- Configure the jackpot node for both landscape and portrait orientations.
- **Scene Hierarchy**
```
Canvas
└── [main-view]
└── [game-view]
├── [logo]
└── [contener-mobile-jackpot-runner]
└── [jackpot-mobile-runner-panel-spawner]
```
- Use `UI Mobile landscape Position` and `UI Mobile portrait Position` for a responsive layout.
![Mobile](../img/05-main-scene/jackpot-panel/jackpot-in-mobile.png)
@ -81,21 +62,7 @@ sidebar_position: 15
- The jackpot panel works seamlessly across all platforms and orientations.
- **Scene Hierarchy**
```
Canvas
└── [main-view]
└── [game-view]
├── [logo]
├── [jackpot-runner-panel-desktop-spawner]
├── [container-mobile-jackpot-runner]
│ └── [jackpot-mobile-runner-panel-spawner]
...
...
└── [jackpot-result-panel-spawner]
```
![Result](../img/05-main-scene/jackpot-panel/jackpot-result.png)
![Result](../img/05-main-scene/jackpot-panel/jackpot-positon-result.png)
More info: [Node Spawner](http://localhost:3000/docs/faqs/setup-cocos-scene#node-spawner)
@ -103,9 +70,6 @@ sidebar_position: 15
:::tip
- Follow the game design layout.
- Scene Hierarchy:
![Result](../img/05-main-scene/jackpot-panel/jackpot-positon-result.png)
:::

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB