I've been using romance points since I started my project in 2015 (yea, that's a long time) and never had problems, but it's been sometime since I haven't done debugging and I am stuck with a problem with numerical variables.
In a separate file, named "definitions.rpy", in the "game" folder, I have the definition:
Code: Select all
# Puntos de afecto
$ kisakiap = 0
Code: Select all
menu:
"Quedarme.":
$ irse = False
"No, no merece la pena."
"Ya he tenido bastante con ese mini-rechazo que me ha hecho Kotone."
"Mordí de nuevo el melon pan, y abrí mi refresco."
"Souta puso en el medio de los tres una caja de Pockys, e invitó a Kotone a sentarse con nosotros."
"Ir a hablar con ella.":
$ irse = True
[b]$ kisakiap += 1[/b]
"Me levanté, dejando el melon pan en el suelo, y caminando hacia la puerta."
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 1747, in script
$ kisakiap += 1
File "game/script.rpy", line 1747, in <module>
$ kisakiap += 1
NameError: name 'kisakiap' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 1747, in script
$ kisakiap += 1
File "C:\Users\Ray\Downloads\renpy-6.99.12.4-sdk\renpy\ast.py", line 814, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\Ray\Downloads\renpy-6.99.12.4-sdk\renpy\python.py", line 1719, in py_exec_bytecode
exec bytecode in globals, locals
File "game/script.rpy", line 1747, in <module>
$ kisakiap += 1
NameError: name 'kisakiap' is not defined
Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
Eien no Mirai 0.81d
Thank you!