From 1af28e6a637e33c4da5e9eac0d2677abe2d53ccc Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Sat, 4 May 2024 22:40:18 +0800 Subject: [PATCH] Add New Features --- assets/ArkPetsConfigDefault.json | 3 +- assets/UI/SettingsModule.fxml | 5 ++ core/src/cn/harryh/arkpets/ArkConfig.java | 2 + core/src/cn/harryh/arkpets/ArkPets.java | 3 +- .../arkpets/controllers/RootModule.java | 12 +-- .../arkpets/controllers/SettingsModule.java | 76 ++++++++++++++++--- .../harryh/arkpets/utils/GuiComponents.java | 37 ++++++++- 7 files changed, 111 insertions(+), 27 deletions(-) diff --git a/assets/ArkPetsConfigDefault.json b/assets/ArkPetsConfigDefault.json index d4779f70..3f5c6230 100644 --- a/assets/ArkPetsConfigDefault.json +++ b/assets/ArkPetsConfigDefault.json @@ -19,5 +19,6 @@ "physic_gravity_acc":800.0, "physic_speed_limit_x":1000.0, "physic_speed_limit_y":1000.0, - "physic_static_friction_acc":500.0 + "physic_static_friction_acc":500.0, + "window_style_toolwindow":true } \ No newline at end of file diff --git a/assets/UI/SettingsModule.fxml b/assets/UI/SettingsModule.fxml index f269f718..96092e86 100644 --- a/assets/UI/SettingsModule.fxml +++ b/assets/UI/SettingsModule.fxml @@ -29,6 +29,7 @@