mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
first commit
This commit is contained in:
commit
fafcbd1530
223 changed files with 107395 additions and 0 deletions
8
Stages/Camera.gd
Normal file
8
Stages/Camera.gd
Normal file
|
@ -0,0 +1,8 @@
|
|||
extends Camera2D
|
||||
|
||||
|
||||
func _process(_delta):
|
||||
var zoomlevel = clamp(Engine.time_scale, 0.5, 0.975)
|
||||
|
||||
|
||||
zoom = lerp(zoom, Vector2(zoomlevel, zoomlevel), smoothing_speed / 200)
|
Loading…
Add table
Add a link
Reference in a new issue