Change the visibility of text within the game

reddotincreddotinc Member Posts: 653
edited November -1 in Working with GS (Mac)
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.

Comments

  • iDeveloperziDeveloperz Member Posts: 1,169
    Change attribute:

    Actor.color.alpha to 0.5

    or whatever :)
  • victorkin11victorkin11 Member Posts: 251
    I have success use rule to check the time, in different time display same text in different alpha, the new one will overwrite the old alpha.

    if time1
    display text color 1
    if time 2
    display test color 2
    ...
  • firemaplegamesfiremaplegames Member Posts: 3,211
    Yeah, you cannot do it directly.

    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.
  • reddotincreddotinc Member Posts: 653
    iDeveloperz said:
    Change attribute:

    Actor.color.alpha to 0.5

    or whatever :)

    Good luck with that ;)
    firemaplegames said:
    Yeah, you cannot do it directly.

    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.

    Thanks FMG, but this is for stats, so it's not really feasible to go down any other route :(.. *Prays for custom fonts in the next update*

    // Red Dot Inc
  • iDeveloperziDeveloperz Member Posts: 1,169
    Whale oil beef hooked.

    I thought it would work.
    :P
Sign In or Register to comment.