hello!
I'm having this weird bug that happens every other time i try to switch between tags of characters.
I'm not sure what triggers it, but here is the code ^^"
[code]
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/image_tools/layered_image_visualizer.rpy", line 895, in event
x = x / self.width
~~^~~~~~~~~~~~
ZeroDivisionError: float division by zero
-- Full Traceback ------------------------------------------------------------
Traceback (most recent call last):
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
python hide:
File "renpy/ast.py", line 1193, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/python.py", line 1276, in py_exec_bytecode
exec(bytecode, globals, locals)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in <module>
python hide:
File "renpy/common/_layout/screen_main_menu.rpym", line 35, in _execute_python_hide
ui.interact()
~~~~~~~~~~~^^
File "renpy/ui.py", line 306, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/display/core.py", line 2163, in interact
repeat, rv = self.interact_core(
~~~~~~~~~~~~~~~~~~^
preloads=preloads,
^^^^^^^^^^^^^^^^^^
...<4 lines>...
**kwargs,
^^^^^^^^^
)
^
File "renpy/display/core.py", line 3263, in interact_core
rv = root_widget.event(ev, x, y, 0)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "renpy/display/layout.py", line 1281, in event
rv = i.event(ev, x - xo, y - yo, cst)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/display/transition.py", line 51, in event
return self.new_widget.event(ev, x, y, st) # E1101
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "renpy/display/layout.py", line 1281, in event
rv = i.event(ev, x - xo, y - yo, cst)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/display/layout.py", line 1281, in event
rv = i.event(ev, x - xo, y - yo, cst)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/display/screen.py", line 805, in event
rv = self.child.event(ev, x, y, st)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "renpy/display/layout.py", line 1281, in event
rv = i.event(ev, x - xo, y - yo, cst)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/display/layout.py", line 1281, in event
rv = i.event(ev, x - xo, y - yo, cst)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/display/layout.py", line 1281, in event
rv = i.event(ev, x - xo, y - yo, cst)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
[Previous line repeated 1 more time]
File "game/image_tools/layered_image_visualizer.rpy", line 895, in event
x = x / self.width
~~^~~~~~~~~~~~
ZeroDivisionError: float division by zero
Windows-11-10.0.26200-SP0 AMD64
Ren'Py 8.5.3.26051504
Pearls of Foam
Thu Sep 17 18:06:20 2026
[/code]