summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game/microgames/heart_break/heart_break.gd1
-rw-r--r--game/microgames/heart_break/player_heart.tscn5
2 files changed, 3 insertions, 3 deletions
diff --git a/game/microgames/heart_break/heart_break.gd b/game/microgames/heart_break/heart_break.gd
index 63d7e5d..3abbf2c 100644
--- a/game/microgames/heart_break/heart_break.gd
+++ b/game/microgames/heart_break/heart_break.gd
@@ -10,4 +10,5 @@ func _on_player_heart_body_entered(body):
func disable_player():
$PlayerHeart.get_node("AnimatedSprite2D").play("death")
$PlayerHeart.playerControl = false
+ $PlayerHeart.get_node("AudioStreamPlayer").play()
diff --git a/game/microgames/heart_break/player_heart.tscn b/game/microgames/heart_break/player_heart.tscn
index 58e84db..ed55534 100644
--- a/game/microgames/heart_break/player_heart.tscn
+++ b/game/microgames/heart_break/player_heart.tscn
@@ -2,12 +2,11 @@
[ext_resource type="Script" path="res://game/microgames/heart_break/player_heart.gd" id="1_e40wj"]
[ext_resource type="SpriteFrames" uid="uid://c5j2ojumuirph" path="res://game/microgames/heart_break/assets/heart_animation.tres" id="1_koysl"]
+[ext_resource type="AudioStream" uid="uid://beoypuqfm058h" path="res://game/microgames/heart_break/assets/augh_sound.wav" id="3_rntdb"]
[sub_resource type="CircleShape2D" id="CircleShape2D_sp11c"]
radius = 57.0088
-[sub_resource type="AudioStreamWAV" id="AudioStreamWAV_tervk"]
-
[node name="PlayerHeart" type="RigidBody2D"]
gravity_scale = 0.0
can_sleep = false
@@ -24,4 +23,4 @@ autoplay = "default"
shape = SubResource("CircleShape2D_sp11c")
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
-stream = SubResource("AudioStreamWAV_tervk")
+stream = ExtResource("3_rntdb")