Does the android menu bar (home button etc) affect rendering? Seems to me like it does
My device's dimensions in pixels is 2560 x 1440.
In my state, i drew a 640x480 red rectangle to represent my game stage. Main gameWidth: 640, gameHeight:480
automated zoom ratio = 3. (1440/480)
To auto-center my stage, i shifted FlxG.camera.x by (Lib.stageWidth - (640*3)/2, which i assumed would work.
However, it was only centered factoring in the android menu bar.
Checked my values, Lib.stageWidth = 2560 after targetting android sdk 19.
Can anyone figure out the problem? Or does rendering take into account the android menu bar by default?
My main purpose is to be able to auto-centre the game screen as it seems haxeflixel scales up the game to fit the device screen, it is aligned to TOPLEFT, resulting in white space on the left/bottom,
if anyone can teach me how to do that, that will be great too
Thanks!