Fixed the zoom issue on high dpi

This commit is contained in:
NeeEoo
2023-04-02 16:19:26 +02:00
parent ddb868f43f
commit 7b9c984cf9
3 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ class Main extends Sprite
var gameWidth:Int = 1280; // Width of the game in pixels (might be less / more in actual pixels depending on your zoom).
var gameHeight:Int = 720; // Height of the game in pixels (might be less / more in actual pixels depending on your zoom).
var zoom:Float = -1; // If -1, zoom is automatically calculated to fit the window dimensions.
var zoom:Float = 1; // If -1, zoom is automatically calculated to fit the window dimensions.
var framerate:Int = 120; // How many frames per second the game should run at.
var skipSplash:Bool = true; // Whether to skip the flixel splash screen that appears in release mode.
var startFullscreen:Bool = false; // Whether to start the game in fullscreen on desktop targets