From bbe34640857b38c9bf232f78ee08f03f1354c326 Mon Sep 17 00:00:00 2001 From: Care <126361810+chronicsilly@users.noreply.github.com> Date: Sun, 9 Nov 2025 00:07:58 +0000 Subject: [PATCH] Option stufff for camer abop event idk (#811) * Update PlayState.hx * Fix camera zoom logic in PlayState.hx --------- Co-authored-by: Ralty <78720179+Raltyro@users.noreply.github.com> --- source/funkin/game/PlayState.hx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/source/funkin/game/PlayState.hx b/source/funkin/game/PlayState.hx index 76752ac4..1a4e882b 100644 --- a/source/funkin/game/PlayState.hx +++ b/source/funkin/game/PlayState.hx @@ -1587,11 +1587,13 @@ class PlayState extends MusicBeatState var camera:FlxCamera = event.params[1] == "camHUD" ? camHUD : camGame; camera.zoom += event.params[0]; case "Camera Bop": - if (useCamZoomMult) { - camZoomingMult += event.params[0]; - } else { - FlxG.camera.zoom += event.params[0] * camZoomingStrength; - camHUD.zoom += event.params[0] * camZoomingStrength; + if (Options.camZoomOnBeat) { + if (useCamZoomMult) { + camZoomingMult += event.params[0]; + } else { + FlxG.camera.zoom += event.params[0] * camZoomingStrength; + camHUD.zoom += event.params[0] * camZoomingStrength; + } } case "Camera Zoom": var cam = event.params[2] == "camHUD" ? camHUD : camGame;