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.
label start:
scene living_room with dissolve
#show a centered text, the window briefly flashes below
centered "Some centered text"
# here it doesn't happen anymore, I guess because the background is already set to None
centered "Some more centered text"
It seems to happen only when the background property needs to change from the default textbox to transparent (None).
Is there a way I can avoid this? I'm aware I could use show text but I want to take advantage of cps speed.
window show dissolve
centered "Some text"
window hide dissolve
That dissolves the image in and out, but what I need in this case is for the textbox to not appear in the first place.
However, this made me realize I can just:
This appears to fix the issue, I would have to type that extra line of code everytime but it's ok, I won't need to use centered that often.
Thanks for the help!