add boss enemy and refactor

This commit is contained in:
2025-10-22 16:42:26 +01:00
parent bfefcffb1f
commit c7933ca7b8
11 changed files with 501 additions and 24 deletions

View File

@@ -4,7 +4,6 @@ extends Area2D
@onready var death: AudioStreamPlayer2D = $Death
func _on_body_entered(player_body: Node2D) -> void:
print("You died.")
death.play()
Engine.time_scale = 0.5
player_body.get_node(NodeTypes.COLLISION_SHAPE_2D).queue_free()