From c1ddb77b0b8a8d2f8bc5fee5c1e119184a133d5e Mon Sep 17 00:00:00 2001 From: TheRealJake_12 <84357907+TheRealJake12@users.noreply.github.com> Date: Thu, 28 Dec 2023 14:30:19 -0600 Subject: [PATCH] real quick before release --- source/GameplayCustomizeState.hx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/source/GameplayCustomizeState.hx b/source/GameplayCustomizeState.hx index 053a6811..e36889d4 100644 --- a/source/GameplayCustomizeState.hx +++ b/source/GameplayCustomizeState.hx @@ -143,7 +143,10 @@ class GameplayCustomizeState extends MusicBeatState gf = new Character(400, 130, 'gf'); } - Stage = new Stage(stageCheck); + Stage = new Stage('stage'); + + Stage.loadStageData('stage'); + Stage.initStageProperties(); var positions = Stage.positions[Stage.curStage]; if (positions != null) @@ -178,6 +181,8 @@ class GameplayCustomizeState extends MusicBeatState } } + Stage.initCamPos(); + var camPos:FlxPoint = new FlxPoint(dad.getGraphicMidpoint().x + 400, dad.getGraphicMidpoint().y); camFollow.setPosition(camPos.x, camPos.y); @@ -266,13 +271,13 @@ class GameplayCustomizeState extends MusicBeatState sick.y = (FlxG.mouse.y - sick.height) - 60; } - if (FlxG.keys.justPressed.Q) + if (FlxG.keys.justPressed.E) { FlxG.save.data.zoom += 0.02; camHUD.zoom = FlxG.save.data.zoom; } - if (FlxG.keys.justPressed.E) + if (FlxG.keys.justPressed.Q) { FlxG.save.data.zoom -= 0.02; camHUD.zoom = FlxG.save.data.zoom;