mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
powerup system
This commit is contained in:
parent
c8747328cf
commit
77ca16be36
149 changed files with 2472 additions and 331 deletions
|
@ -2,7 +2,7 @@ extends Camera2D
|
|||
|
||||
|
||||
func _process(_delta):
|
||||
var zoomlevel = clamp(Engine.time_scale, 0.5, 0.975)
|
||||
|
||||
|
||||
zoom = lerp(zoom, Vector2(zoomlevel, zoomlevel), smoothing_speed / 200)
|
||||
if GameStats.camera_fx:
|
||||
var zoomlevel = clamp(Engine.time_scale, 0.5, 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