summaryrefslogtreecommitdiff
path: root/game/microgames/flowers_delivery
diff options
context:
space:
mode:
Diffstat (limited to 'game/microgames/flowers_delivery')
-rw-r--r--game/microgames/flowers_delivery/flowers_delivery.gd1
-rw-r--r--game/microgames/flowers_delivery/flowers_delivery.tscn6
2 files changed, 6 insertions, 1 deletions
diff --git a/game/microgames/flowers_delivery/flowers_delivery.gd b/game/microgames/flowers_delivery/flowers_delivery.gd
index 648b77f..b9dbdef 100644
--- a/game/microgames/flowers_delivery/flowers_delivery.gd
+++ b/game/microgames/flowers_delivery/flowers_delivery.gd
@@ -8,3 +8,4 @@ func _microgame_ready() -> void:
func _on_died():
finished.emit(false)
+ $Lose.play()
diff --git a/game/microgames/flowers_delivery/flowers_delivery.tscn b/game/microgames/flowers_delivery/flowers_delivery.tscn
index 5b6d052..1794c1a 100644
--- a/game/microgames/flowers_delivery/flowers_delivery.tscn
+++ b/game/microgames/flowers_delivery/flowers_delivery.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=16 format=3 uid="uid://cxxawcp2cuijl"]
+[gd_scene load_steps=17 format=3 uid="uid://cxxawcp2cuijl"]
[ext_resource type="Texture2D" uid="uid://dbohkvl4ryqbk" path="res://game/microgames/flowers_delivery/assets/girlfriend.png" id="1_isthg"]
[ext_resource type="Script" path="res://game/microgames/flowers_delivery/flowers_delivery.gd" id="1_jhoh1"]
@@ -7,6 +7,7 @@
[ext_resource type="Texture2D" uid="uid://dfd2176us2w7g" path="res://game/microgames/flowers_delivery/assets/player2.png" id="3_pyt0j"]
[ext_resource type="Texture2D" uid="uid://bjs5knhxc6vvi" path="res://game/microgames/flowers_delivery/assets/dodge.png" id="4_snyja"]
[ext_resource type="Texture2D" uid="uid://dv1e2uv1xcoxs" path="res://game/shared/assets/blank.png" id="6_omk1m"]
+[ext_resource type="AudioStream" uid="uid://el3oki6pjf3j" path="res://game/microgames/flowers_delivery/assets/527291__wolfdoctor__stick-wacking-slowed-down.wav" id="8_df7lp"]
[sub_resource type="SpriteFrames" id="SpriteFrames_fhfcp"]
animations = [{
@@ -107,3 +108,6 @@ mesh = SubResource("BoxMesh_xy5s1")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_lochx")
+
+[node name="Lose" type="AudioStreamPlayer" parent="."]
+stream = ExtResource("8_df7lp")