HTML5 target window focus issue
When I run my game and click in another window (that is not the browser) the game stops. When I click inside the game window again, nothing happens. I have '<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />' in my project xml file so I'm expecting the game to keep running even if I click on something else. Does anyone know how to deal with this?
I have some hacky workarounds here, didn't have time to find a proper fix, maybe you could pick it up: https://github.com/HaxeFlixel/flixel/issues/2008
Thank you! I'll check it out!