diff --git a/states/playstate.lua b/states/playstate.lua index 98b6fc6..7f14b87 100644 --- a/states/playstate.lua +++ b/states/playstate.lua @@ -707,15 +707,18 @@ local function state(songName, songDifficulty, show) if event.vars and type(event.vars) == "table" then if event.vars.ease and event.vars.ease ~= "CLASSIC" then - easetime = event.vars.duration or 1.5 + easetime = event.vars.duration and event.vars.duration / 16 or 1.5 end end cameraTween = tween.new(easetime, render.cameraPosition, { x = cameraPosition.x, y = cameraPosition.y }, ease) elseif event.name == "zoomcamera" then - zoomTween = tween.new(event.vars.duration or 32, sharedVars, { defaultZoom = event.vars.zoom }, - tween.easing.outExpo) + local duration = event.vars.ease == "CLASSIC" and 1.5 or event.vars.duration and event.vars.duration / 16 or 2 + local ease = tween.easing.outQuad + + zoomTween = tween.new(duration, sharedVars, { defaultZoom = event.vars.zoom }, + ease) elseif event.name == "playanimation" or event.name == "play animation" then local chars = { dad = "dad",