FixedScaleMode
is a scaling mode which maintains the game's scene at a fixed size.
This will clip off the edges of the scene for dimensions which are too small,
and leave black margins on the sides for dimensions which are too large.
To enable it in your project, use FlxG.scaleMode = new FixedScaleMode();
.