When using the Ratio or Fixed scaling modes on mobile devices, chances
are that there will be some black bars around the game. By default, the
game is centered in the middle of the display; is there a way to change
that position so that the game is for example aligned at the top of the screen? Couldn't find anything in the docs, the FlxGame constructor doesn't take any position coordinates and FlxGame.cpp goes over my head a bit :/ I only need this for Android and iOS.
This is what I want it to look like when playing on an Android device:
You can use your own PixelPerfectMode where you override the updateGamePosition().
On Thursday, October 23, 2014 2:02:28 PM UTC+3, Andrej wrote: