remove initialZoom argument from HaxeFlixel games

This commit is contained in:
2022-12-04 20:13:49 +00:00
parent 1c2e7c2152
commit c25f112dd1
3 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ class Main extends Sprite
public function new()
{
super();
addChild(new FlxGame(0, 0, HabitState, 1, 60, 60, true));
addChild(new FlxGame(0, 0, HabitState, 60, 60, true));
var t:HabitState = cast FlxG.state;
var saveFolder = Prelude.joinPath(Prelude.userHome(), "Documents", "HabitPuzzles");

View File

@@ -9,7 +9,7 @@ class Main extends Sprite
public function new()
{
super();
addChild(new FlxGame(0, 0, TypingState, 1, 60, 60, true));
addChild(new FlxGame(0, 0, TypingState, 60, 60, true));
var t:TypingState = cast FlxG.state;
t.setModel(new DocumentModel(Sys.args()[0]));
}

View File

@@ -1,3 +1,3 @@
(method new []
(super)
(addChild (new FlxGame 1280 720 PlayState 1 60 60 true false)))
(addChild (new FlxGame 1280 720 PlayState 60 60 true false)))