Change the visibility of text within the game
reddotinc
Member Posts: 653
I'm trying to work out how to change the visibility of text based on an attribute, but obviously you can't change the visibility, and the text isn't affected by alpha changes.
Any ideas?
The only Idea I thought of would be to change the text displayed to be blank, but obviously that's not very clean.
Any ideas?
The only Idea I thought of would be to change the text displayed to be blank, but obviously that's not very clean.
Comments
Actor.color.alpha to 0.5
or whatever
if time1
display text color 1
if time 2
display test color 2
...
Either you need to set the text to "" like you said, or have two display texts like victor suggests.
However, I would suggest using .png text if you can, as the built-in text looks pretty unprofessional.
// Red Dot Inc
I thought it would work.
:P