extends Camera2D func _process(_delta): var zoomlevel = clamp(Engine.time_scale, 0.5, 0.975) zoom = lerp(zoom, Vector2(zoomlevel, zoomlevel), smoothing_speed / 200)