diff --git a/CHANGELOG.md b/CHANGELOG.md index aaa7e4b..707e3e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### 0.6.0 +- Added game controller haptic/vibration support, supported controllers will shake along with your screen. + ### 0.5.0 - visualize in game prop node properties in real time, Enable debug mode with F10. - unlocked replay speed limit. diff --git a/ba_root/mods/mood_setter.py b/ba_root/mods/mood_setter.py index 09d9d04..17dc89b 100644 --- a/ba_root/mods/mood_setter.py +++ b/ba_root/mods/mood_setter.py @@ -167,18 +167,21 @@ def _cancel(self): # Good idea to revert this back now so we do not break anything else. # bui.app.classic.accounts.have_pro = original_have_pro bui.containerwidget(edit=self._root_widget, transition="out_right") - + def reset(self, transition_out=True): if transition_out: bui.getsound("gunCocking").play() - babase.app.config["MoodSetter"] = (1, 1, 1) - babase.app.config.commit() + try: + del babase.app.config["MoodSetter"] + babase.app.config.commit() + except: + pass _babase.disable_custom_tint() # Good idea to revert this back now so we do not break anything else. # bui.app.classic.accounts.have_pro = original_have_pro bui.containerwidget(edit=self._root_widget, transition="out_right") - + def save(self, transition_out=True): if transition_out: @@ -190,7 +193,7 @@ def save(self, transition_out=True): # Good idea to revert this back now so we do not break anything else. # bui.app.classic.accounts.have_pro = original_have_pro bui.containerwidget(edit=self._root_widget, transition="out_right") - + def _set_color(self, color): self._color = color _babase.set_global_tint(*self._color) @@ -211,7 +214,7 @@ def color_picker_closing(self, picker): # The `ColorPicker` expects this method to exist in the delegate, # so here it is! pass - + class NewMainMenuWindow(mainmenu.MainMenuWindow): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -223,16 +226,19 @@ def new_on_button_x_press(arg): MoodSetterWindow().draw_ui() if arg == "Y": print("button Y pressed from UI or keyboard") - - + + # ba_meta export plugin class Mood_selector(babase.Plugin): def on_app_running(self) -> None: - _babase.set_global_tint(*MoodSetterWindow().color) + color = babase.app.config.get("MoodSetter", (None)) + + if color: + _babase.set_global_tint(*color) mainmenu.MainMenuWindow = NewMainMenuWindow ui_hooks.on_button_xy_press = new_on_button_x_press - - + + def has_settings_ui(self): return True diff --git a/linux-x86_64/ballisticakit b/linux-x86_64/ballisticakit index 193dbb6..9d15aa1 100644 Binary files a/linux-x86_64/ballisticakit and b/linux-x86_64/ballisticakit differ diff --git a/windows/BombSquad ModX.exe b/windows/BombSquad ModX.exe index 7cb8e6d..9fbbac0 100644 Binary files a/windows/BombSquad ModX.exe and b/windows/BombSquad ModX.exe differ diff --git a/windows/DLLs/_asyncio.pyd b/windows/DLLs/_asyncio.pyd new file mode 100644 index 0000000..9f9ea96 Binary files /dev/null and b/windows/DLLs/_asyncio.pyd differ diff --git a/windows/DLLs/_bz2.pyd b/windows/DLLs/_bz2.pyd new file mode 100644 index 0000000..ecccf99 Binary files /dev/null and b/windows/DLLs/_bz2.pyd differ diff --git a/windows/DLLs/_ctypes.pyd b/windows/DLLs/_ctypes.pyd new file mode 100644 index 0000000..b88c8df Binary files /dev/null and b/windows/DLLs/_ctypes.pyd differ diff --git a/windows/DLLs/_ctypes_test.pyd b/windows/DLLs/_ctypes_test.pyd new file mode 100644 index 0000000..c08c8a4 Binary files /dev/null and b/windows/DLLs/_ctypes_test.pyd differ diff --git a/windows/DLLs/_decimal.pyd b/windows/DLLs/_decimal.pyd new file mode 100644 index 0000000..f3b9f5e Binary files /dev/null and b/windows/DLLs/_decimal.pyd differ diff --git a/windows/DLLs/_elementtree.pyd b/windows/DLLs/_elementtree.pyd new file mode 100644 index 0000000..6cdcaf5 Binary files /dev/null and b/windows/DLLs/_elementtree.pyd differ diff --git a/windows/DLLs/_hashlib.pyd b/windows/DLLs/_hashlib.pyd new file mode 100644 index 0000000..2658336 Binary files /dev/null and b/windows/DLLs/_hashlib.pyd differ diff --git a/windows/DLLs/_lzma.pyd b/windows/DLLs/_lzma.pyd new file mode 100644 index 0000000..650b319 Binary files /dev/null and b/windows/DLLs/_lzma.pyd differ diff --git a/windows/DLLs/_msi.pyd b/windows/DLLs/_msi.pyd new file mode 100644 index 0000000..2b7595b Binary files /dev/null and b/windows/DLLs/_msi.pyd differ diff --git a/windows/DLLs/_multiprocessing.pyd b/windows/DLLs/_multiprocessing.pyd new file mode 100644 index 0000000..8957003 Binary files /dev/null and b/windows/DLLs/_multiprocessing.pyd differ diff --git a/windows/DLLs/_overlapped.pyd b/windows/DLLs/_overlapped.pyd new file mode 100644 index 0000000..d7a619b Binary files /dev/null and b/windows/DLLs/_overlapped.pyd differ diff --git a/windows/DLLs/_queue.pyd b/windows/DLLs/_queue.pyd new file mode 100644 index 0000000..546db45 Binary files /dev/null and b/windows/DLLs/_queue.pyd differ diff --git a/windows/DLLs/_socket.pyd b/windows/DLLs/_socket.pyd new file mode 100644 index 0000000..b63f518 Binary files /dev/null and b/windows/DLLs/_socket.pyd differ diff --git a/windows/DLLs/_sqlite3.pyd b/windows/DLLs/_sqlite3.pyd new file mode 100644 index 0000000..cbf9d8c Binary files /dev/null and b/windows/DLLs/_sqlite3.pyd differ diff --git a/windows/DLLs/_ssl.pyd b/windows/DLLs/_ssl.pyd new file mode 100644 index 0000000..376acb1 Binary files /dev/null and b/windows/DLLs/_ssl.pyd differ diff --git a/windows/DLLs/_testbuffer.pyd b/windows/DLLs/_testbuffer.pyd new file mode 100644 index 0000000..a2aaf68 Binary files /dev/null and b/windows/DLLs/_testbuffer.pyd differ diff --git a/windows/DLLs/_testcapi.pyd b/windows/DLLs/_testcapi.pyd new file mode 100644 index 0000000..7d56345 Binary files /dev/null and b/windows/DLLs/_testcapi.pyd differ diff --git a/windows/DLLs/_testconsole.pyd b/windows/DLLs/_testconsole.pyd new file mode 100644 index 0000000..8648934 Binary files /dev/null and b/windows/DLLs/_testconsole.pyd differ diff --git a/windows/DLLs/_testimportmultiple.pyd b/windows/DLLs/_testimportmultiple.pyd new file mode 100644 index 0000000..89fce75 Binary files /dev/null and b/windows/DLLs/_testimportmultiple.pyd differ diff --git a/windows/DLLs/_testinternalcapi.pyd b/windows/DLLs/_testinternalcapi.pyd new file mode 100644 index 0000000..17f34b0 Binary files /dev/null and b/windows/DLLs/_testinternalcapi.pyd differ diff --git a/windows/DLLs/_testmultiphase.pyd b/windows/DLLs/_testmultiphase.pyd new file mode 100644 index 0000000..ad824cb Binary files /dev/null and b/windows/DLLs/_testmultiphase.pyd differ diff --git a/windows/DLLs/_tkinter.pyd b/windows/DLLs/_tkinter.pyd new file mode 100644 index 0000000..ff1891c Binary files /dev/null and b/windows/DLLs/_tkinter.pyd differ diff --git a/windows/DLLs/_uuid.pyd b/windows/DLLs/_uuid.pyd new file mode 100644 index 0000000..01db465 Binary files /dev/null and b/windows/DLLs/_uuid.pyd differ diff --git a/windows/DLLs/_zoneinfo.pyd b/windows/DLLs/_zoneinfo.pyd new file mode 100644 index 0000000..a1f8a31 Binary files /dev/null and b/windows/DLLs/_zoneinfo.pyd differ diff --git a/windows/DLLs/pyexpat.pyd b/windows/DLLs/pyexpat.pyd new file mode 100644 index 0000000..13bfdcd Binary files /dev/null and b/windows/DLLs/pyexpat.pyd differ diff --git a/windows/DLLs/select.pyd b/windows/DLLs/select.pyd new file mode 100644 index 0000000..4549b0d Binary files /dev/null and b/windows/DLLs/select.pyd differ diff --git a/windows/DLLs/unicodedata.pyd b/windows/DLLs/unicodedata.pyd new file mode 100644 index 0000000..b25fab8 Binary files /dev/null and b/windows/DLLs/unicodedata.pyd differ diff --git a/windows/DLLs/winsound.pyd b/windows/DLLs/winsound.pyd new file mode 100644 index 0000000..6b39e61 Binary files /dev/null and b/windows/DLLs/winsound.pyd differ