This commit is contained in:
zoe 2021-10-18 11:27:04 +02:00
parent e08c2c3ef2
commit 7b67b3aef6
24 changed files with 238 additions and 167 deletions

View file

@ -3,6 +3,6 @@ extends Camera2D
func _process(_delta):
if GameStats.camera_fx:
var zoomlevel = clamp(Engine.time_scale, 0.5, 0.975)
var zoomlevel = clamp(Engine.time_scale, 0.65, 0.975)
zoom = lerp(zoom, Vector2(zoomlevel, zoomlevel), smoothing_speed / 200)
else: zoom = Vector2(1, 1)