minor stuff

This commit is contained in:
RandomityGuy 2022-08-22 19:16:07 +05:30
parent 1454316ca8
commit fd674011ad
2 changed files with 3 additions and 1 deletions

View file

@ -115,8 +115,10 @@ class Settings {
public static var isTouch:Option<Bool> = Option.None;
public static function applySettings() {
#if hl
Window.getInstance().resize(optionsSettings.screenWidth, optionsSettings.screenHeight);
Window.getInstance().displayMode = optionsSettings.isFullScreen ? FullscreenResize : Windowed;
#end
AudioManager.updateVolumes();
MarbleGame.canvas.render(MarbleGame.canvas.scene2d);

View file

@ -9,7 +9,7 @@ class Grid {
public var cellSize:Vector; // The dimensions of one cell
public static var CELL_DIV = new Vector(12, 12, 12); // split the bounds into cells of dimensions 1/16th of the corresponding dimensions of the bounds
public var CELL_DIV = new Vector(12, 12, 12); // split the bounds into cells of dimensions 1/16th of the corresponding dimensions of the bounds
var map:Map<Int, Array<Int>> = new Map();