Compare commits

..

No commits in common. "b21bf52938cb63d398e57ddae66320ab10c8a633" and "b56d0cb777a9a2b0b9c1f62828ea625e6aed361d" have entirely different histories.

2 changed files with 2 additions and 8 deletions

View File

@ -18,13 +18,8 @@ func _ready() -> void:
sprite.play("Healthy")
mirrorSprite1 = sprite.duplicate()
sprite.play("Healthy")
mirrorSprite2 = sprite.duplicate()
sprite.play("Healthy")
mirrorSprite3 = sprite.duplicate()
sprite.play("Healthy")
add_child(mirrorSprite1)
add_child(mirrorSprite2)
@ -60,9 +55,6 @@ func handle_damage(dmg: int, src: Node) -> void:
func die() -> void:
sprite.play("Dying")
mirrorSprite1.play("Dying")
mirrorSprite2.play("Dying")
mirrorSprite3.play("Dying")
super.die()
func become_injured() -> void:

View File

@ -69,6 +69,7 @@ rotation = 0.474154
[node name="StateMachine" type="Node" parent="." index="2" unique_id=445822474 node_paths=PackedStringArray("initial_state")]
script = ExtResource("9_xxtgy")
initial_state = NodePath("Idle")
metadata/_custom_type_script = "uid://ck7k8ht54snsy"
[node name="RandomMovement" type="Node" parent="StateMachine" index="0" unique_id=1422146232]
script = ExtResource("10_rgguv")
@ -81,6 +82,7 @@ script = ExtResource("12_xxtgy")
[node name="Idle" type="Node" parent="StateMachine" index="2" unique_id=1424222731]
script = ExtResource("12_ubfhk")
metadata/_custom_type_script = "uid://co2xp7gauamql"
[node name="Timer" type="Timer" parent="StateMachine/Idle" index="0" unique_id=1050348256]
one_shot = true