And this is more or less how it looks on Android
I would like to keep it in the game, as a small gesture of giving back, but it looks silly when it's in a corner...
Here's my project.xml
<?xml version="1.0" encoding="utf-8"?>
<project>
<app title="LAZAKNITEZ" file="LAZAKNITEZ" main="Main" version="0.0.1" company="GLITCHNAP"/>
<meta title="LAZAKNITEZ" package="com.lazaknitez" version="0.0.9" company="GLITCHNAP" />
<window width="1280" height="720" fps="1" orientation="landscape" fullscreen="true" hardware="true" vsync="true" background="#000000" />
<set name="SWF_VERSION" value="11.2" />
<set name="BUILD_DIR" value="export" />
<classpath name="source" />
<assets path="assets" />
<haxelib name="actuate" />
<haxelib name="openfl" />
<haxelib name="nape" />
<haxelib name="flixel"/>
<haxelib name="flixel-addons"/>
<icon path="assets/icon.png" />
<haxedef name="NAPE_RELEASE_BUILD" />
<haxedef name="FLX_THREADING" />
<haxedef name="FLX_NO_MOUSE" if="mobile" />
<haxedef name="FLX_NO_KEYBOARD" if="mobile" />
<haxedef name="FLX_NO_TOUCH" if="desktop" />
<haxedef name="FLX_NO_GAMEPAD" />
<haxedef name="FLX_NO_SOUND_TRAY" />
<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />
<haxedef name="FLX_NO_DEBUG" unless="debug" />
<haxedef name="fdb" if="target_flash"/>
</project>
just tested, this fixes it
//var stageWidth:Int = Lib.current.stage.stageWidth;//var stageHeight:Int = Lib.current.stage.stageHeight;var stageWidth:Int = cast(FlxG.stage.width);var stageHeight:Int = cast(FlxG.stage.height);:) :) I'll make a pull request... or a hotfix, or whatever it's called
<window width="0" height="0" fps="1" orientation="landscape" fullscreen="true" hardware="true" vsync="true" background="#000000" if="mobile" />
<window width="1280" height="720" fps="1" orientation="landscape" fullscreen="true" hardware="true" vsync="true" background="#000000" unless="mobile" />