kyouryuukunn / renpy-ActionEditor

This is 3D camera functions and GUI Action Editor for Ren'py
58 stars 10 forks source link

Getting an error whenever trying to edit 2D camera's position with sliders #8

Closed Al-the-Procrastinator closed 5 months ago

Al-the-Procrastinator commented 5 months ago
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 32, in script
    g "You've created a new Ren'Py game."
  File "game/ActionEditor.rpy", line 1091, in action_editor
    renpy.invoke_in_new_context(renpy.call_screen, "_action_editor")
  File "game/camera.rpy", line 548, in _camera_trans
    if check_point[-1][1] and  check_point[-1][1] >= st:
TypeError: '>=' not supported between instances of 'tuple' and 'float'

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/script.rpy", line 32, in script
    g "You've created a new Ren'Py game."
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\ast.py", line 930, in execute
    renpy.exports.say(who, what, *args, **kwargs)
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\exports.py", line 1475, in say
    who(what, *args, **kwargs)
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\character.py", line 1380, in __call__
    self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, **display_args)
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\character.py", line 1031, in do_display
    display_say(who,
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\character.py", line 727, in display_say
    rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward)
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\display\core.py", line 3003, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\display\core.py", line 3964, in interact_core
    rv = root_widget.event(ev, x, y, 0)
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\display\layout.py", line 1185, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\display\behavior.py", line 528, in event
    rv = run(action)
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\display\behavior.py", line 379, in run
    return action(*args, **kwargs)
  File "game/ActionEditor.rpy", line 1091, in action_editor
    renpy.invoke_in_new_context(renpy.call_screen, "_action_editor")
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\game.py", line 287, in invoke_in_new_context
    return callable(*args, **kwargs)
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\exports.py", line 3358, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\display\core.py", line 3003, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\display\core.py", line 3596, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\display\core.py", line 2203, in draw_screen
    surftree = renpy.display.render.render_screen(
  File "render.pyx", line 486, in renpy.display.render.render_screen
  File "render.pyx", line 260, in renpy.display.render.render
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\display\layout.py", line 883, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\display\layout.py", line 883, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\display\layout.py", line 883, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 260, in renpy.display.render.render
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\display\transform.py", line 924, in render
    self.update_state()
  File "C:\Users\PC\Desktop\renpy 8.2.0_new\renpy-8.2.0.23100901+nightly-sdk\renpy\display\transform.py", line 895, in update_state
    fr = self.function(self, self.st, self.at)
  File "game/camera.rpy", line 548, in _camera_trans
    if check_point[-1][1] and  check_point[-1][1] >= st:
TypeError: '>=' not supported between instances of 'tuple' and 'float'

Windows-10-10.0.22631 AMD64
Ren'Py 8.2.0.23100901+nightly
try4 1.0
Tue Jun 11 17:23:04 2024
kyouryuukunn commented 5 months ago

Could you use new version ActionEditor? This version is no longer developed and doesn't support current version Ren'py. https://github.com/kyouryuukunn/renpy-ActionEditor3

Al-the-Procrastinator commented 5 months ago

Could you use new version ActionEditor? This version is no longer developed and doesn't support current version Ren'py. https://github.com/kyouryuukunn/renpy-ActionEditor3

Oh, thank you! And sorry for bothering you, I thought THIS version was the last one...