Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 331, in script
$ result = renpy.imagemap("desktop1.png", [
File "game/script.rpy", line 332, in <module>
(145, 88, 307, 280, "scaweb"),
TypeError: imagemap() takes at least 3 arguments (2 given)
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 331, in script
$ result = renpy.imagemap("desktop1.png", [
File "/Applications/renpy-6.99.13-sdk/renpy/ast.py", line 827, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/Applications/renpy-6.99.13-sdk/renpy/python.py", line 1764, in py_exec_bytecode
exec bytecode in globals, locals
File "game/script.rpy", line 332, in <module>
(145, 88, 307, 280, "scaweb"),
TypeError: imagemap() takes at least 3 arguments (2 given)
Code: Select all
$ result = renpy.imagemap("desktop1.png", [
(145, 88, 307, 280, "scaweb"),
])
if result == "scaweb":
t"Yay! You opened Browser."