update image, content
@ -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:
|
||||
|
||||

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

|
||||
@ -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]
|
||||
```
|
||||
|
||||

|
||||

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

|
||||
:::
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 62 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 6.4 KiB |