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.
init:
transform topleft:
xalign = 0.0, yalign = 0.0
show text "This is in the\ntop corner" at topleft
## If you wanted to do it without using a transform
show text "This is in the\ntop corner":
xalign = 0.0, yalign = 0.0
Mental weather report: Cloudy with a possibility of brain storms.
Many Thanks, ParameterizedText() works best of all solutions so far.
The problem with UI functions is that I need pauses in between showing texts and UI always clears its previous text. Or is there a way to stop that? The only way I found was using layers, which just adds complexity.
My goal is to make the code easily readable and editable by a non-programmer. I probably was not clear enough on that in my initial question.
All of this is nifty, but how do I center text inside dialogue (i.e. define a paragraph as horizontally centered text)? The examples I've found in this forum don't work for me.