Merge pull request 'feature/add-setup-popup-panel' (#27) from feature/add-setup-popup-panel into develop
Reviewed-on: #27
This commit is contained in:
commit
6392b35984
@ -210,7 +210,7 @@ Create new node and configuration in your main scene:
|
|||||||
##### Texture Button Bar
|
##### Texture Button Bar
|
||||||
Checklist assets completed for bottom UI and button UI text
|
Checklist assets completed for bottom UI and button UI text
|
||||||
:::info
|
:::info
|
||||||
🔗 [Click here to follow the setup pack assets](http://localhost:3000/docs/category/game-asset-structure)
|
🔗 [](http://localhost:3000/docs/category/game-asset-structure)
|
||||||
:::
|
:::
|
||||||

|

|
||||||
|
|
||||||
@ -409,39 +409,43 @@ The popup panel is already integrated into the main scenes `template-main-game`.
|
|||||||

|

|
||||||
|
|
||||||
|
|
||||||
| **Node Type** | **Location Description** | **Screenshot** |
|
|  | Change set Sibling index | |
|
||||||
| -------------------- | ----------------------------- | ------------------------------------------------------------------------|
|
| -----------------------------------------------------------|------------------------- | ------------------------------------------------------|
|
||||||
| **Definition Node** | Before configuring the popup prefab |  |
|
|
||||||
| **Positioning Node** | After adjusting the prefab's position in scene |  |
|
|
||||||
|
|
||||||
#### Detail configuring:
|
#### Detail configuring:
|
||||||
|
|
||||||
##### Multiple Popup Panel:
|
##### Multiple Popup Panel:
|
||||||
|
|
||||||
|
:::info
|
||||||

|

|
||||||
|
|
||||||
To use the Multiple Popup layout, reference target `hyper-multiple-popup.prefab` in core:
|
To use the Multiple Popup layout, reference target `hyper-multiple-popup.prefab` in core:
|
||||||
:::info
|
|
||||||
**Path** : *assets/core-assets/hyper-core/packages/popup-panel/prefabs/hyper-multiple-popup.prefab*
|
**Path** : *assets/core-assets/hyper-core/packages/popup-panel/prefabs/hyper-multiple-popup.prefab*
|
||||||
:::
|
:::
|
||||||
|
|
||||||
##### Manual Popup Panel:
|
##### Manual Popup Panel:
|
||||||
|
|
||||||
|
:::info
|
||||||
- This popup is self-configured using shared textures and layout structure.
|
- This popup is self-configured using shared textures and layout structure.
|
||||||
- The color theme and style may vary depending on the game design.
|
- The color theme and style may vary depending on the game design.
|
||||||
|
- Note: **Exit Game** Popup only in **Desktop**.
|
||||||
|
:::
|
||||||
|
|
||||||
⚠️ Note:
|
##### Assets pack:
|
||||||
The **Exit Game** Popup only appears in **Desktop**.
|
|
||||||
|
- *Prepare asset to pack*.
|
||||||
|
|
||||||
|
🔗 Click here to follow the setup pack assets: [Complete Assets Structure Guide](http://localhost:3000/docs/category/game-asset-structure)
|
||||||
|
|
||||||
|
| Path | Example |
|
||||||
|
|-------------------------------------------------------------|-------------------------------------------------------------------|
|
||||||
|
|`assets\game-assets\textures\desktop\preloads\main-game\exit`||
|
||||||
|
|
||||||
|
- structure prefabs:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
##### Texture Path & Asset Info:
|
|
||||||
✅ Exit popup textures have been successfully packed.
|
|
||||||
🔗 Refer to the full asset structure guide: [Complete Assets Structure Guide](http://localhost:3000/docs/category/game-asset-structure)
|
|
||||||
|
|
||||||
**Texture Path:**:
|
|
||||||
`assets\game-assets\textures\desktop\preloads\main-game\exit`
|
|
||||||
|
|
||||||
**Preview Result**:
|
**Preview Result**:
|
||||||

|

|
||||||
|
|
||||||
|
BIN
docs/02-setup-main-game/img/05-main-scene/exit-popup-game.png
Normal file
BIN
docs/02-setup-main-game/img/05-main-scene/exit-popup-game.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
Loading…
x
Reference in New Issue
Block a user