make zooming better and qol in customize state
This commit is contained in:
@ -2783,8 +2783,14 @@ class PlayState extends MusicBeatState
|
||||
|
||||
if (camZooming)
|
||||
{
|
||||
if (FlxG.save.data.zoom < 0.8)
|
||||
FlxG.save.data.zoom = 0.8;
|
||||
|
||||
if (FlxG.save.data.zoom > 1.2)
|
||||
FlxG.save.data.zoom = 1.2;
|
||||
|
||||
FlxG.camera.zoom = FlxMath.lerp(defaultCamZoom, FlxG.camera.zoom, 0.95);
|
||||
camHUD.zoom = FlxMath.lerp(1, camHUD.zoom, 0.95);
|
||||
camHUD.zoom = FlxMath.lerp(FlxG.save.data.zoom, camHUD.zoom, 0.95);
|
||||
}
|
||||
|
||||
FlxG.watch.addQuick("curBPM", Conductor.bpm);
|
||||
|
Reference in New Issue
Block a user