From 88c7a1f2cf7e27c19db3b31c45225b78019931ba Mon Sep 17 00:00:00 2001 From: Hardy--Lee <> Date: Wed, 7 May 2025 01:10:12 +0800 Subject: [PATCH] feat: add resolution settings update adaptive ui fix backlog max width uptate config file --- packages/webgal/index.html | 110 ---------------- packages/webgal/public/game/config.txt | 2 + .../controller/stage/pixi/PixiController.ts | 122 +++++++++++++++++- .../src/Core/controller/storage/saveGame.ts | 8 +- .../pixi/performs/cherryBlossoms.ts | 5 +- .../Core/gameScripts/pixi/performs/rain.ts | 5 +- .../Core/gameScripts/pixi/performs/snow.ts | 5 +- packages/webgal/src/Core/initializeScript.ts | 69 +++++----- packages/webgal/src/Core/util/constants.scss | 2 - .../util/coreInitialFunction/infoFetcher.ts | 95 +++++++------- packages/webgal/src/Core/webgalCore.ts | 3 + packages/webgal/src/Stage/TextBox/TextBox.tsx | 6 +- .../webgal/src/UI/Backlog/backlog.module.scss | 11 +- .../BottomControlPanel/BottomControlPanel.tsx | 8 +- .../bottomControlPanel.module.scss | 29 +++-- packages/webgal/src/UI/Extra/ExtraBgm.tsx | 3 +- packages/webgal/src/UI/Extra/ExtraCg.tsx | 3 +- .../webgal/src/UI/Extra/ExtraCgElement.tsx | 11 +- .../webgal/src/UI/Extra/extra.module.scss | 50 ++++--- .../UI/GlobalDialog/globalDialog.module.scss | 1 - packages/webgal/src/UI/Logo/Logo.tsx | 2 +- .../src/UI/Menu/MenuPanel/MenuPanel.tsx | 5 +- .../UI/Menu/MenuPanel/menuPanel.module.scss | 6 + .../UI/Menu/Options/normalButton.module.scss | 3 +- .../UI/Menu/Options/normalOption.module.scss | 2 + .../src/UI/Menu/Options/options.module.scss | 12 +- .../src/UI/Menu/SaveAndLoad/Load/Load.tsx | 3 +- .../src/UI/Menu/SaveAndLoad/Save/Save.tsx | 3 +- .../Menu/SaveAndLoad/SaveAndLoad.module.scss | 24 ++-- packages/webgal/src/UI/Menu/menu.module.scss | 4 + packages/webgal/src/UI/Title/Title.tsx | 1 + .../webgal/src/UI/Utils/HorizontalScroll.tsx | 25 ++++ packages/webgal/src/UI/Utils/constants.scss | 2 + packages/webgal/src/index.scss | 4 - 34 files changed, 368 insertions(+), 276 deletions(-) create mode 100644 packages/webgal/src/UI/Utils/HorizontalScroll.tsx create mode 100644 packages/webgal/src/UI/Utils/constants.scss diff --git a/packages/webgal/index.html b/packages/webgal/index.html index a257f3329..5213a138a 100644 --- a/packages/webgal/index.html +++ b/packages/webgal/index.html @@ -13,8 +13,6 @@