Flashing Text Problem
andrewhnovak@gmail.com
Member, PRO Posts: 77
I'm trying to get text to flash on the screen and I'm not sure what's wrong. Any Ideas?
Comments
Your code seems to be a bit of a mess ! There is nothing in your code that would make an actor 'flash', there is nothing inside your timers, so they won't do anything, you have duplicate change attribute behaviours that do opposite things . . . . .
Try this:
Timer, every X seconds: change alpha to 1-alpha.
See if the attached project is what you are after. If it is not visible refresh the page.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template
I copied your logic into my game and created an actor, which I dragged to screen and also an attribute called "meSwitch" just like your example, but the text does not appear on the screen? Do you know why?
Did you type your text into the expression editor? You can type your text into the box however if you open the expression editor you have to encase your text in quotes i.e. "TAP SCREEN TO PLAY".
If you are not including any attributes in your display just type it into the box.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template
I'm not including any attributes in the display text so I don't know why it wont appear
The difference it between typing straight into the box or clicking on the "e" (Expression editor) on the right of the box.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template
I just got it working. By changing the opacity. Thanks for your help guys
It is nothing to do with the rules you posted, the problem lies elsewhere. Check other rules which maybe preventing the text displaying.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template