forked from team-sg/hero-mark-2
improve stain removal on player animation a bit
This commit is contained in:
parent
3543c98c46
commit
d8cdd29c79
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@ func _ready() -> void:
|
|||
|
||||
func _process(delta: float) -> void:
|
||||
lifetime -= delta
|
||||
if lifetime < 1.0:
|
||||
global_position.y += 4.0 * delta
|
||||
if lifetime < 0.5:
|
||||
scale = Vector2(lifetime * 2.0, lifetime * 2.0)
|
||||
if lifetime <= 0.0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue