Stop Flashing makes object visible

0 favourites
  • 4 posts
From the Asset Store
A collection of 10 amazing sprite sheet animations for your incredible games
  • Link to .capx file (required! If link is blocked remove the http and www parts):

    dropbox.com/s/twi6aie8vp7lrt3/StopFlashBugDemo.capx

    Steps to reproduce:

    1. Make a text object.

    2. Add the Flash behaviour to it.

    3. Make it flash.

    4. Make it invisible.

    5. Stop it flashing.

    Observed result:

    Object is visible.

    Expected result:

    Object should be invisible.

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Internet Explorer: yes

    Operating system & service pack:

    Windows 7 SP1

    Construct 2 version:

    Release 160.2

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Link to .capx file (required! If link is blocked remove the http and www parts):

    https://www.dropbox.com/s/twi6aie8vp7lrt3/StopFlashBugDemo.capx

    Steps to reproduce:

    1. Make a text object.

    2. Add the Flash behaviour to it.

    3. Make it flash.

    4. Make it invisible.

    5. Stop it flashing.

    Observed result:

    Object is visible.

    Expected result:

    Object should be invisible.

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Internet Explorer: yes

    Operating system & service pack:

    Windows 7 SP1

    Construct 2 version:

    Release 160.2

    The flash behaviour change the actual visibility of the object If I remember correctly, thus it is not a bug, so you should set the visibility afterwards

  • Closing as this is actually by design, that 'Stop Flashing' makes the object visible again. Workaround: just move the 'set invisible' action to after the 'stop flashing' action.

  • OK, I worked around it easily.

    I thought you had two different "variables" to check state, so you could see if a flashing object was already invisible (in my "weltanschauung", the flashes of the invisible flashing man are invisible).

    I use to employ "turn invisible" to get rid of objects without destroying them despite of events they could activate.

    Well, this feature has an advantage. I can make the object visible by simply making it flash, so I can save the "make visible" action.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)