remove initialZoom argument from HaxeFlixel games
This commit is contained in:
@@ -13,7 +13,7 @@ class Main extends Sprite
|
|||||||
public function new()
|
public function new()
|
||||||
{
|
{
|
||||||
super();
|
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 t:HabitState = cast FlxG.state;
|
||||||
|
|
||||||
var saveFolder = Prelude.joinPath(Prelude.userHome(), "Documents", "HabitPuzzles");
|
var saveFolder = Prelude.joinPath(Prelude.userHome(), "Documents", "HabitPuzzles");
|
||||||
|
@@ -9,7 +9,7 @@ class Main extends Sprite
|
|||||||
public function new()
|
public function new()
|
||||||
{
|
{
|
||||||
super();
|
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;
|
var t:TypingState = cast FlxG.state;
|
||||||
t.setModel(new DocumentModel(Sys.args()[0]));
|
t.setModel(new DocumentModel(Sys.args()[0]));
|
||||||
}
|
}
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
(method new []
|
(method new []
|
||||||
(super)
|
(super)
|
||||||
(addChild (new FlxGame 1280 720 PlayState 1 60 60 true false)))
|
(addChild (new FlxGame 1280 720 PlayState 60 60 true false)))
|
Reference in New Issue
Block a user