Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
28 changes: 17 additions & 11 deletions ba_root/mods/mood_setter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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)
Expand All @@ -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)
Expand All @@ -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

Expand Down
Binary file modified linux-x86_64/ballisticakit
Binary file not shown.
Binary file modified windows/BombSquad ModX.exe
Binary file not shown.
Binary file added windows/DLLs/_asyncio.pyd
Binary file not shown.
Binary file added windows/DLLs/_bz2.pyd
Binary file not shown.
Binary file added windows/DLLs/_ctypes.pyd
Binary file not shown.
Binary file added windows/DLLs/_ctypes_test.pyd
Binary file not shown.
Binary file added windows/DLLs/_decimal.pyd
Binary file not shown.
Binary file added windows/DLLs/_elementtree.pyd
Binary file not shown.
Binary file added windows/DLLs/_hashlib.pyd
Binary file not shown.
Binary file added windows/DLLs/_lzma.pyd
Binary file not shown.
Binary file added windows/DLLs/_msi.pyd
Binary file not shown.
Binary file added windows/DLLs/_multiprocessing.pyd
Binary file not shown.
Binary file added windows/DLLs/_overlapped.pyd
Binary file not shown.
Binary file added windows/DLLs/_queue.pyd
Binary file not shown.
Binary file added windows/DLLs/_socket.pyd
Binary file not shown.
Binary file added windows/DLLs/_sqlite3.pyd
Binary file not shown.
Binary file added windows/DLLs/_ssl.pyd
Binary file not shown.
Binary file added windows/DLLs/_testbuffer.pyd
Binary file not shown.
Binary file added windows/DLLs/_testcapi.pyd
Binary file not shown.
Binary file added windows/DLLs/_testconsole.pyd
Binary file not shown.
Binary file added windows/DLLs/_testimportmultiple.pyd
Binary file not shown.
Binary file added windows/DLLs/_testinternalcapi.pyd
Binary file not shown.
Binary file added windows/DLLs/_testmultiphase.pyd
Binary file not shown.
Binary file added windows/DLLs/_tkinter.pyd
Binary file not shown.
Binary file added windows/DLLs/_uuid.pyd
Binary file not shown.
Binary file added windows/DLLs/_zoneinfo.pyd
Binary file not shown.
Binary file added windows/DLLs/pyexpat.pyd
Binary file not shown.
Binary file added windows/DLLs/select.pyd
Binary file not shown.
Binary file added windows/DLLs/unicodedata.pyd
Binary file not shown.
Binary file added windows/DLLs/winsound.pyd
Binary file not shown.