mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
more sfx
This commit is contained in:
parent
e08c2c3ef2
commit
7b67b3aef6
24 changed files with 238 additions and 167 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue