Updated pattern for boss; trying to get it to spawn bullets.
This commit is contained in:
parent
caf2bffb0c
commit
e608652170
24 changed files with 606 additions and 28 deletions
|
|
@ -118,8 +118,17 @@ func _on_area_entered(area):
|
|||
shield -= int(max_shield / 2)
|
||||
_on_damage_taken()
|
||||
area.hit_detection()
|
||||
|
||||
if area.is_in_group("enemy_bullets") and self.monitoring == true:
|
||||
damage_taken.emit()
|
||||
|
||||
if area.is_in_group("horse"):
|
||||
print("Entered horse!")
|
||||
shield -= int(max_shield / 2)
|
||||
_on_damage_taken()
|
||||
|
||||
if area.is_in_group("boss"):
|
||||
print("Entered boss!")
|
||||
|
||||
func _on_damage_taken():
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue