improve stain removal on player animation a bit

This commit is contained in:
Haze Weathers 2024-03-11 16:12:42 -04:00
parent 3543c98c46
commit d8cdd29c79

View file

@ -10,6 +10,8 @@ func _ready() -> void:
func _process(delta: float) -> void: func _process(delta: float) -> void:
lifetime -= delta lifetime -= delta
if lifetime < 1.0:
global_position.y += 4.0 * delta
if lifetime < 0.5: if lifetime < 0.5:
scale = Vector2(lifetime * 2.0, lifetime * 2.0) scale = Vector2(lifetime * 2.0, lifetime * 2.0)
if lifetime <= 0.0: if lifetime <= 0.0: