mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
9 lines
173 B
GDScript3
9 lines
173 B
GDScript3
|
extends Camera2D
|
||
|
|
||
|
|
||
|
func _process(_delta):
|
||
|
var zoomlevel = clamp(Engine.time_scale, 0.5, 0.975)
|
||
|
|
||
|
|
||
|
zoom = lerp(zoom, Vector2(zoomlevel, zoomlevel), smoothing_speed / 200)
|