boss behavior stuff

This commit is contained in:
Haze Weathers 2023-02-16 18:44:17 -05:00
parent 38e60fad93
commit e04c1f3bf5
5 changed files with 60 additions and 16 deletions

View file

@ -8,6 +8,8 @@ extends Node2D
const DeathParticles = preload("res://objects/enemy/death_particles.tscn")
signal died()
### these variables have been replaced with groups to put on the hitbox
### - "blocks_arrow"
### - "blocks_sword"
@ -36,4 +38,5 @@ func die():
Game.play_sound(death_sound, Game.ac_die)
Game.score += score_for_killing
emit_signal("died")
queue_free()