remove debug stuff

This commit is contained in:
SondreElg
2025-10-04 21:14:51 +02:00
parent 3a6fd0caa5
commit 865a890049
2 changed files with 0 additions and 8 deletions

View File

@@ -45,11 +45,5 @@ collision_mask = 31
scale = Vector2(50, 50)
shape = SubResource("CircleShape2D_khlsn")
[node name="ColorRect" type="ColorRect" parent="BossArea/CollisionShape2D"]
offset_left = -10.0
offset_top = -10.0
offset_right = 10.0
offset_bottom = 10.0
[connection signal="body_entered" from="BossArea" to="." method="_on_boss_area_body_entered"]
[connection signal="body_exited" from="BossArea" to="." method="_on_boss_area_body_exited"]

View File

@@ -5,10 +5,8 @@ func _ready() -> void:
func _on_boss_area_body_entered(_body: Node2D) -> void:
print_debug("Boss area entered")
$AudioStreamPlayer.get_stream_playback().switch_to_clip_by_name("Boss")
func _on_boss_area_body_exited(_body: Node2D) -> void:
print_debug("Boss area exited")
$AudioStreamPlayer.get_stream_playback().switch_to_clip_by_name("Base")