Code: Select all
show text "xxxx"
Code: Select all
show text "xxxx"
Code: Select all
thetext = Text("My text!")
renpy.show("mytext", [Position(xpos=.5, ypos=.5, xanchor=0.5, yanchor=0.5)], what=thetext)
Code: Select all
renpy.hide("mytext")
Code: Select all
thetext = Text("something")
thetext2 = Text("something else")
...
thetext = Text("Still something else, reusing thetext!")
Code: Select all
thetext = Text("something")
...
othertext = Text("balbla")
...
anothertext = Text("...")
...
etc...
Thanks !!!! That really describes a renpy.show behavior ! I cannot figure that way of using it it from documentation. It was here - but the formal way of docs description stop me from understanding.monele wrote:Code: Select all
thetext = Text("My text!") renpy.show("mytext", [Position(xpos=.5, ypos=.5, xanchor=0.5, yanchor=0.5)], what=thetext)
Users browsing this forum: No registered users