Text disappears when a filter is applied to FlxG.game



  • Hello everyone!

    Based on that demo: [http://haxeflixel.com/demos/Filters/]
    (http://haxeflixel.com/demos/Filters/) I tried to apply the scanline filter on my FlxG.game and that works as expected. Except for one point, after 7 seconds all the FlxText on screen disappear.
    I do not have that problem if I apply the filter to only the camera.

    The problem ocurs even if I compile to neko, windows or HTML5.

    Anyone could help me with that?

    I put my demo project here: demo.zip

    Thanks!



  • Strange. I ran it with a neko build, set a timer for one minute, and the text remained the full time. I ran it again just to check. I don't see anything in the code that would cause it to do that.

    The only thing out of the ordinary I found was it asked for a library called thx.csv in project.xml.

    I don't know what library that was references so I removed it like so:

    <!--haxelib name="thx.csv" /-->
    

    If you do know what it is and what it's referencing and the problem occurred with that file then try removing it if it's not critical.

    Hope that helps.


Log in to reply
 

Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.