mirror of
https://codeberg.org/Melon-Bread/Comets.gd.git
synced 2025-07-06 22:54:36 -04:00
Player crash when hit comet
This commit is contained in:
@ -42,5 +42,9 @@ func fire_gun(pos : Vector2, rot : float) -> void:
|
||||
can_shoot = false
|
||||
$ShotCooldown.start()
|
||||
|
||||
func crash():
|
||||
$AnimationPlayer.play("crash")
|
||||
|
||||
|
||||
func _on_shot_cooldown_timeout() -> void:
|
||||
can_shoot = true
|
||||
|
Reference in New Issue
Block a user