Progress on the boss

This commit is contained in:
Paul Norberger
2020-04-20 17:52:21 +02:00
parent efacd63543
commit 75a5130121
15 changed files with 671 additions and 152 deletions

View File

@@ -0,0 +1,18 @@
extends "res://Boss/SlimeBoss/States/BossState.gd"
onready var stomp_hitbox = owner.get_node("StompHitbox/CollisionShape2D")
func enter():
stomp_hitbox.disabled = false
func exit():
stomp_hitbox.disabled = true
func update(delta):
play_directional_animation("Charge", owner.last_look)
func _on_animation_finished(anim_name):
anim_name = get_base_anim_name(anim_name)
assert(anim_name == "Charge")
emit_signal("finished")