Can't get game score to show only when game is playing?

I have a game attribute called "playing". When I click start it gets changed to true, and I want a score to be shown when this happens.

The scores default alpha is set to 0, then I have a command when game playing=true, set alpha to 1. For some reason the score won't show up though. Anyone know any better alternatives? I want it to show only when game.playing=true. Thanks

Comments

  • jay2dxjay2dx Member Posts: 611
    edited November 2015

    Hi there,

    what you need to do is: make the alpha of the text code alpha 1, as you cant effect this from code. you need to actually make the alpha of the actor holding the text code 0 and 1 this is turn will make the text appear and disappear as desired with your playing true and false rule.

    What I do is load in a graphic that is say 32x32 that is actually just apha zero "ie make a blank transparent graphic in photoshop or something" so it doesn't show up within the game, make this the score actor that holds your text code. then have this appear and disappear inline with your playing true false code. this is the only work around that I know of!

    hope that makes sense and helps :)

    jdx

Sign In or Register to comment.