So, there's been an update to RenPy (I have no idea when it happened, it might be old news) and that update has messed up the character portraits in a game I was working on. Here is my code:
Code: Select all
init:
$ r_nor = Character(_('Ruzzy'),
color="#c8ffc8",
window_left_padding=160,
show_side_image=Image("images/r_normal.png", xalign=0.0, yalign=1.0))
label start:
r_nor "Hi there, world!"
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 8, in script
r_nor "Hi there, world!"
Exception: Unknown keyword arguments: side_image
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 8, in script
r_nor "Hi there, world!"
File "C:\Users\TheEternals\Downloads\New RenPy\renpy-6.99.12.4-sdk\renpy\ast.py", line 613, in execute
renpy.exports.say(who, what, interact=self.interact)
File "C:\Users\TheEternals\Downloads\New RenPy\renpy-6.99.12.4-sdk\renpy\exports.py", line 1147, in say
who(what, interact=interact)
File "C:\Users\TheEternals\Downloads\New RenPy\renpy-6.99.12.4-sdk\renpy\character.py", line 877, in __call__
self.do_display(who, what, cb_args=self.cb_args, **display_args)
File "C:\Users\TheEternals\Downloads\New RenPy\renpy-6.99.12.4-sdk\renpy\character.py", line 716, in do_display
**display_args)
File "C:\Users\TheEternals\Downloads\New RenPy\renpy-6.99.12.4-sdk\renpy\character.py", line 482, in display_say
what_text = show_function(who, what_string)
File "C:\Users\TheEternals\Downloads\New RenPy\renpy-6.99.12.4-sdk\renpy\character.py", line 700, in do_show
**self.show_args)
File "C:\Users\TheEternals\Downloads\New RenPy\renpy-6.99.12.4-sdk\renpy\character.py", line 283, in show_display_say
return renpy.display.screen.get_widget(screen, "what", layer)
File "C:\Users\TheEternals\Downloads\New RenPy\renpy-6.99.12.4-sdk\renpy\display\screen.py", line 1194, in get_widget
screen.update()
File "C:\Users\TheEternals\Downloads\New RenPy\renpy-6.99.12.4-sdk\renpy\display\screen.py", line 578, in update
self.screen.function(**self.scope)
File "C:\Users\TheEternals\Downloads\New RenPy\renpy-6.99.12.4-sdk\renpy\ast.py", line 152, in apply_arguments
return parameters.apply(args, kwargs, ignore_errors)
File "C:\Users\TheEternals\Downloads\New RenPy\renpy-6.99.12.4-sdk\renpy\ast.py", line 139, in apply
raise Exception("Unknown keyword arguments: %s" % ( ", ".join(values.keys())))
Exception: Unknown keyword arguments: side_image
Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
An S-Rank Quest 1.0