Window size is truncated



  • On Windows - I found that if the monitor resolution is smaller than the window size defined in the Project.xml file, the appropriate dimension is truncated.
    Can I disable that 'feature'?
    My game is run in full-screen mode - so it should be scaled properly.
    In html5 it works as excepted.

    Thanks.



  • I solved that by using gameWidth and gameHeight parameters:

    addChild(new FlxGame(/gameWidth:/ 1820, /gameHeight:/ 1024, PlayState, ...));

    in the Main.new() function


Log in to reply
 

Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.