Improved attack animation

This commit is contained in:
2024-02-13 11:56:04 +01:00
parent 38133969fc
commit 7347c85ca7
5 changed files with 31 additions and 3 deletions

View File

@ -10,7 +10,7 @@ func _ready():
player.attacked.connect(attack)
func attack():
await get_tree().create_timer(0.5).timeout
await get_tree().create_timer(0.7).timeout
area.monitoring = true
await get_tree().create_timer(0.1).timeout
area.monitoring = false