summaryrefslogtreecommitdiff
path: root/game/microgames/baseball_kiss
diff options
context:
space:
mode:
Diffstat (limited to 'game/microgames/baseball_kiss')
-rw-r--r--game/microgames/baseball_kiss/baseball_kiss.gd2
-rw-r--r--game/microgames/baseball_kiss/baseball_kiss.tscn7
2 files changed, 8 insertions, 1 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"]