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.
show expression Text(_("Text1"), size=50, yalign=0.05, xalign=0.05, drop_shadow=(2, 2)) as text1
show expression Text(_("Text2"), size=50, yalign=0.25, xalign=0.05, drop_shadow=(2, 2)) as text2
Remember: if you show a displayable with same tag, as the existing one, it will replace it.
show expression Text(_("Text1"), size=50, yalign=0.05, xalign=0.05, drop_shadow=(2, 2)) as text1
show expression Text(_("Text2"), size=50, yalign=0.25, xalign=0.05, drop_shadow=(2, 2)) as text2
Remember: if you show a displayable with same tag, as the existing one, it will replace it.
thanks I will have that in mind for the future, so the "as text" is like the name of the expression, I'm a bit lost because it seems that I can't declare everything the same way I do with variables in Javascript or C# -_-U .