summaryrefslogtreecommitdiff
path: root/game/microgames/find_window
diff options
context:
space:
mode:
authorHenrique Alves <henrique.alves@itsjungle.xyz>2024-01-28 18:06:21 +0200
committerHenrique Alves <henrique.alves@itsjungle.xyz>2024-01-28 18:06:25 +0200
commit44b7184234b90eb687edff350ace7cadcc4c2b17 (patch)
tree5c721e70608f8ecf87a69e576cd7313dc62115d0 /game/microgames/find_window
parentdbf0f0770a8795d2820c0f9d416393d4dff0340d (diff)
downloadgamejam-ggj-2024-44b7184234b90eb687edff350ace7cadcc4c2b17.tar.gz
gamejam-ggj-2024-44b7184234b90eb687edff350ace7cadcc4c2b17.tar.bz2
gamejam-ggj-2024-44b7184234b90eb687edff350ace7cadcc4c2b17.zip
Add sounds
Diffstat (limited to 'game/microgames/find_window')
-rw-r--r--game/microgames/find_window/find_window.gd2
-rw-r--r--game/microgames/find_window/find_window.tscn9
2 files changed, 9 insertions, 2 deletions
diff --git a/game/microgames/find_window/find_window.gd b/game/microgames/find_window/find_window.gd
index b409d48..1ee1cc9 100644
--- a/game/microgames/find_window/find_window.gd
+++ b/game/microgames/find_window/find_window.gd
@@ -17,3 +17,5 @@ func _on_send_button_button_down():
%TextBoxMessage.hide()
%ChatMessage.show()
finished.emit(true)
+ $Victory.pitch_scale = Engine.time_scale
+ $Victory.play()
diff --git a/game/microgames/find_window/find_window.tscn b/game/microgames/find_window/find_window.tscn
index bea4c96..1fb3522 100644
--- a/game/microgames/find_window/find_window.tscn
+++ b/game/microgames/find_window/find_window.tscn
@@ -1,10 +1,11 @@
-[gd_scene load_steps=7 format=3 uid="uid://cfitfl87k1wu2"]
+[gd_scene load_steps=8 format=3 uid="uid://cfitfl87k1wu2"]
[ext_resource type="Script" path="res://game/microgames/find_window/find_window.gd" id="1_167ws"]
[ext_resource type="Texture2D" uid="uid://j0btxfrk2q8k" path="res://game/microgames/find_window/assets/Img_background_windows.png" id="1_w06df"]
[ext_resource type="Texture2D" uid="uid://7h0hokgsxon4" path="res://game/microgames/find_window/assets/Img_MSN_namoradinha.png" id="3_ekh6x"]
[ext_resource type="Script" path="res://game/microgames/find_window/msn_girlfriend.gd" id="4_ithnb"]
-[ext_resource type="PackedScene" uid="uid://dxo3khe6emukf" path="res://game/microgames/find_window/msn_regular.tscn" id="4_t7t3v"]
+[ext_resource type="PackedScene" path="res://game/microgames/find_window/msn_regular.tscn" id="4_t7t3v"]
+[ext_resource type="AudioStream" uid="uid://cwb7oyqr6ix7o" path="res://game/microgames/find_window/assets/GGJ_msnvictory.wav" id="6_1udmc"]
[sub_resource type="LabelSettings" id="LabelSettings_csx47"]
font_color = Color(0.443137, 0.443137, 0.443137, 1)
@@ -105,4 +106,8 @@ offset_bottom = 620.0
[node name="Timer" type="Timer" parent="."]
+[node name="Victory" type="AudioStreamPlayer" parent="."]
+process_mode = 3
+stream = ExtResource("6_1udmc")
+
[connection signal="button_down" from="AllWindows/ImgMsnNamoradinha/SendButton" to="." method="_on_send_button_button_down"]