Clearing Text?
BenSawyer
Member, PRO Posts: 37
I have a simple actor that I use to display some stats. I want to be able to clear this actor of previous text and display new text from another variable depending on the game's state. For some reason when I do this now all I get when invoking a new display text call is the new text overlayed on top of the previous text drawn. How do I have an actor actually clear any text it's displaying BEFORE drawing out new text. I tried display text = "" before using display text = TEXTtoDisplay but it doesn't work.
Comments
Each time you want the actor to display new or different text, just change the value of the Text Attribute.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page