Skip to content

Commit

Permalink
real quick before release
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealJake12 committed Dec 28, 2023
1 parent f313a3f commit c1ddb77
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions source/GameplayCustomizeState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit c1ddb77

Please sign in to comment.