Merge branch 'main' of https://github.com/YoshiCrafter29/CodenameEngine-Dev
This commit is contained in:
@@ -45,10 +45,8 @@ class Main extends Sprite
|
||||
public static var framerateSprite:funkin.backend.system.framerate.Framerate;
|
||||
#end
|
||||
|
||||
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 framerate:Int = 120; // How many frames per second the game should run at.
|
||||
var gameWidth:Int = 1280; // Width of the game in pixels (might be less / more in actual pixels).
|
||||
var gameHeight:Int = 720; // Height of the game in pixels (might be less / more in actual pixels).
|
||||
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
|
||||
|
||||
@@ -67,7 +65,7 @@ class Main extends Sprite
|
||||
super();
|
||||
#if windows NativeAPI.setDarkMode(true); #end
|
||||
|
||||
addChild(game = new FunkinGame(gameWidth, gameHeight, MainState, framerate, framerate, skipSplash, startFullscreen));
|
||||
addChild(game = new FunkinGame(gameWidth, gameHeight, MainState, Options.framerate, Options.framerate, skipSplash, startFullscreen));
|
||||
|
||||
#if !mobile
|
||||
addChild(framerateSprite = new funkin.backend.system.framerate.Framerate());
|
||||
|
||||
Reference in New Issue
Block a user