Merge pull request 'register landing and tension' (#26) from feature/add-setup-ui-panel-main-game into develop

Reviewed-on: #26
This commit is contained in:
Pham Huynh Duc Huy 2025-05-09 12:02:56 +08:00
commit 9f650ee83f
2 changed files with 23 additions and 2 deletions

View File

@ -86,7 +86,17 @@ The setup is very straightforward by using the `Generate Panel` command in each
- Landing Panel: - Landing Panel:
![Landing Panel](./img/05-main-scene/landing-panel.png) ![Landing Panel](./img/05-main-scene/landing-panel.png)
To define Landing Panel, create the following script:
:::warning
```jsx title="assets/game-assets/scripts/slotty-settings/extend-slotty-setting.js"
SlottySetting.prototype._registerInjection = function () {
DIContainer.Register('landingGenerator', require('landing-generator'));
};
```
:::
- Present Win Cell Panel: - Present Win Cell Panel:
@ -102,7 +112,18 @@ The setup is very straightforward by using the `Generate Panel` command in each
If the tension use a custom size frame, we can change the option **sizeMode** to **Custom** and set the static frame and size. If the tension use a custom size frame, we can change the option **sizeMode** to **Custom** and set the static frame and size.
![Tension Size Custom](./img/05-main-scene/tension-panel-custom.png) ![Tension Size Custom](./img/05-main-scene/tension-panel-custom.png)
**check toggle General Panel**
![Tension Size Custom](./img/05-main-scene/note-bug-tension.png)
To define Tension Panel, create the following script:
:::warning
```jsx title="assets/game-assets/scripts/slotty-settings/extend-slotty-setting.js"
SlottySetting.prototype._registerInjection = function () {
DIContainer.Register('tensionGenerator', require('tension-generator'));
};
```
:::
## Setup UI Panel ## Setup UI Panel

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB