Flashing Text Problem

I'm trying to get text to flash on the screen and I'm not sure what's wrong. Any Ideas?

Comments

  • SocksSocks London, UK.Member Posts: 12,822

    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 . . . . .

  • SocksSocks London, UK.Member Posts: 12,822
    edited June 2014

    Try this:

    Timer, every X seconds: change alpha to 1-alpha.

  • colandercolander Member Posts: 1,610
    edited June 2014

    See if the attached project is what you are after. If it is not visible refresh the page.

  • andrewhnovak@gmail.comandrewhnovak@gmail.com Member, PRO Posts: 77

    @colander said:
    See if the attached project is what you are after. If it is not visible refresh the page.

    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?

  • colandercolander Member Posts: 1,610
    edited June 2014

    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.

  • andrewhnovak@gmail.comandrewhnovak@gmail.com Member, PRO Posts: 77

    I'm not including any attributes in the display text so I don't know why it wont appear

  • colandercolander Member Posts: 1,610

    The difference it between typing straight into the box or clicking on the "e" (Expression editor) on the right of the box.

  • andrewhnovak@gmail.comandrewhnovak@gmail.com Member, PRO Posts: 77
    edited June 2014

    I just got it working. By changing the opacity. Thanks for your help guys

  • colandercolander Member Posts: 1,610

    It is nothing to do with the rules you posted, the problem lies elsewhere. Check other rules which maybe preventing the text displaying.

Sign In or Register to comment.