diff --git a/docs/02-setup-main-game/05-main-scene.md b/docs/02-setup-main-game/05-main-scene.md index 922782f..c643120 100644 --- a/docs/02-setup-main-game/05-main-scene.md +++ b/docs/02-setup-main-game/05-main-scene.md @@ -68,7 +68,17 @@ The setup is very straightforward by using the `Generate Panel` command in each - 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: @@ -84,7 +94,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. - ![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 diff --git a/docs/02-setup-main-game/img/05-main-scene/note-bug-tension.png b/docs/02-setup-main-game/img/05-main-scene/note-bug-tension.png new file mode 100644 index 0000000..853ff08 Binary files /dev/null and b/docs/02-setup-main-game/img/05-main-scene/note-bug-tension.png differ