the "define" variable not implemented at the start of the game
Posted: Fri Jun 24, 2022 3:29 pm
Hi guys,
Start debugging my game after 2 years, and at the launch I have this error. (I just updated RENPY) so now maybe I need another declarative type.
in my init.rpy :
define version_game = "0.3.22.d"
in option.rpy :
define config.name = _("The Pleasuremancer "+str(version_game)+" - Stable version")
And with the update of RENPY I have this error :
'm sorry, but an uncaught exception occurred.
While parsing C:\***\Pleasuremancer v674/game/Init_globale.rpy.
File "game/options.rpy", line 15, in <module>
define config.name = _("The Pleasuremancer "+str(version_game)+" - Gold edition - Stable version")
NameError: name 'version_game' is not defined
What is the new declarative ?
Thanks
Start debugging my game after 2 years, and at the launch I have this error. (I just updated RENPY) so now maybe I need another declarative type.
in my init.rpy :
define version_game = "0.3.22.d"
in option.rpy :
define config.name = _("The Pleasuremancer "+str(version_game)+" - Stable version")
And with the update of RENPY I have this error :
'm sorry, but an uncaught exception occurred.
While parsing C:\***\Pleasuremancer v674/game/Init_globale.rpy.
File "game/options.rpy", line 15, in <module>
define config.name = _("The Pleasuremancer "+str(version_game)+" - Gold edition - Stable version")
NameError: name 'version_game' is not defined
What is the new declarative ?
Thanks