Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
## The version of the game.
define config.version = "0.01"
## Text that is placed on the game's about screen. To insert a blank line
## between paragraphs, write \n\n.
define gui.about = _("- Development Build (Version [config.version]) -\n\nIntroductions and slight GUI setup.")
The purpose was to display the version here, because I do not like it displayed on the game-screen.
However, now, it displays the following text... "Development Build (Version [config.version])"...
Instead of the text... "Development Build (Version 0.01)"
Has the format changed to insert values [defined-vals], into "Quoted text", using [ and ], changed?
Other than that, it might be a case of using python "... {0} ...".format( config.version ) or even making the interpolated [] strings differently in screens.py
It may be because the assignment may not be "done" until the page is finished. So it isn't an actual "value", or it now requires a renpy.something insert.
The [ and ] are being interpreted as characters, which is some kind of bug/quirk... Thus, anything between them, in the quotes, is showing as text also.