Reputation: 1
function resizegaem4by3(){
#if desktop
lime.app.Application.current.window.resize(960, 720);
lime.app.Application.current.window.x += 160;
#end
FlxG.resizeGame(960,720);
Lib.current.stage.stageWidth = 960; (problem)
}
ive looked through the haxeflixel documentation yet found nothing.
Upvotes: 0
Views: 276
Reputation: 438
FlxG.resizeWindow(w, h);
You may want/need to call
Lib.application.window.move(newX, newY);
after to position your window.
Upvotes: 0