diff options
Diffstat (limited to 'game/microgames')
6 files changed, 23 insertions, 4 deletions
diff --git a/game/microgames/baseball_kiss/baseball_kiss.gd b/game/microgames/baseball_kiss/baseball_kiss.gd index ba03388..8c03fc3 100644 --- a/game/microgames/baseball_kiss/baseball_kiss.gd +++ b/game/microgames/baseball_kiss/baseball_kiss.gd @@ -35,3 +35,5 @@ func _on_hand_collision_area_shape_entered(area_rid, area, area_shape_index, loc $BreCharacter.play("win") kiss.queue_free() finished.emit(true) + $Victory.pitch_scale = Engine.time_scale + $Victory.play() diff --git a/game/microgames/baseball_kiss/baseball_kiss.tscn b/game/microgames/baseball_kiss/baseball_kiss.tscn index 9d6abd7..fdf1e32 100644 --- a/game/microgames/baseball_kiss/baseball_kiss.tscn +++ b/game/microgames/baseball_kiss/baseball_kiss.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=22 format=3 uid="uid://h4y7kn003ao1"] +[gd_scene load_steps=23 format=3 uid="uid://h4y7kn003ao1"] [ext_resource type="Script" path="res://game/microgames/baseball_kiss/baseball_kiss.gd" id="1_urxm5"] [ext_resource type="Texture2D" uid="uid://1mnstkvhabph" path="res://game/microgames/baseball_kiss/assets/Img_background_windows.png" id="2_odjhy"] @@ -11,6 +11,7 @@ [ext_resource type="Texture2D" uid="uid://di8c7rl1lm62b" path="res://game/microgames/baseball_kiss/assets/Img_kiss.png" id="6_j2h3k"] [ext_resource type="Texture2D" uid="uid://cym248ma3nprt" path="res://game/microgames/baseball_kiss/assets/Img_bre_3.png" id="6_j64wj"] [ext_resource type="Texture2D" uid="uid://b4mybwt5qhyfv" path="res://game/microgames/baseball_kiss/assets/Img_pepe_2.png" id="7_nvi3g"] +[ext_resource type="AudioStream" uid="uid://di7ei7o6rvkum" path="res://game/microgames/baseball_kiss/assets/GGJ_WinBaseball.wav" id="12_hw2sk"] [sub_resource type="SpriteFrames" id="SpriteFrames_yf7ev"] animations = [{ @@ -213,4 +214,8 @@ texture = ExtResource("6_j2h3k") position = Vector2(1.44458, -1.86267) shape = SubResource("RectangleShape2D_53xmk") +[node name="Victory" type="AudioStreamPlayer" parent="."] +process_mode = 3 +stream = ExtResource("12_hw2sk") + [connection signal="area_shape_entered" from="PepeCharacter/HandCollision" to="." method="_on_hand_collision_area_shape_entered"] 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"] 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") |