Hi, I have an issue - well, two issues, but I'm taking one at a time.
This first one is an error that pops up when I press the Escape key while in game:
I'm sorry, but an uncaught exception occurred.
While running game code:
NameError: name 'viewport' is not defined. Did you mean: 'Viewport'?
-- Full Traceback ------------------------------------------------------------
Traceback (most recent call last):
File "renpy/common/00gamemenu.rpy", line 174, in script
$ ui.interact()
File "renpy/ast.py", line 1187, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/python.py", line 1273, in py_exec_bytecode
exec(bytecode, globals, locals)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/common/00gamemenu.rpy", line 174, in <module>
$ 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 2154, in interact
repeat, rv = self.interact_core(
~~~~~~~~~~~~~~~~~~^
preloads=preloads,
^^^^^^^^^^^^^^^^^^
...<4 lines>...
**kwargs,
^^^^^^^^^
)
^
File "renpy/display/core.py", line 2700, in interact_core
root_widget.visit_all(lambda d: d.per_interact())
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/display/displayable.py", line 457, in visit_all
d.visit_all(callback, seen)
~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "renpy/display/displayable.py", line 457, in visit_all
d.visit_all(callback, seen)
~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "renpy/display/displayable.py", line 457, in visit_all
d.visit_all(callback, seen)
~~~~~~~~~~~^^^^^^^^^^^^^^^^
[Previous line repeated 1 more time]
File "renpy/display/screen.py", line 503, in visit_all
callback(self)
~~~~~~~~^^^^^^
File "renpy/display/core.py", line 2700, in <lambda>
root_widget.visit_all(lambda d: d.per_interact())
~~~~~~~~~~~~~~^^
File "renpy/display/screen.py", line 514, in per_interact
self.update()
~~~~~~~~~~~^^
File "renpy/display/screen.py", line 715, in update
self.screen.function(**self.scope)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "renpy/parameter.py", line 468, in apply_arguments
return parameters.apply(args or (), kwargs or {}, ignore_errors)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/parameter.py", line 401, in apply
self.apply_defaults(arguments)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "renpy/parameter.py", line 221, in apply_defaults
val = param.default_value(locals=scope)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "renpy/parameter.py", line 58, in default_value
return renpy.python.py_eval(self.default, locals=locals, globals=globals)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/python.py", line 1305, in py_eval
return py_eval_bytecode(code, globals, locals)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/python.py", line 1298, in py_eval_bytecode
return eval(bytecode, globals, locals)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<none>", line 1, in <module>
NameError: name 'viewport' is not defined. Did you mean: 'Viewport'?
Windows-10-10.0.19045-SP0 AMD64
Ren'Py 8.5.2.26010301
I probably didn't set something up correctly somewhere, but I'm not exactly sure where. I could use a pointer on where I might have made a mistake.