summaryrefslogtreecommitdiff
path: root/Reusable Scenes/number_node.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'Reusable Scenes/number_node.tscn')
-rw-r--r--Reusable Scenes/number_node.tscn10
1 files changed, 9 insertions, 1 deletions
diff --git a/Reusable Scenes/number_node.tscn b/Reusable Scenes/number_node.tscn
index ed5de58..74e5559 100644
--- a/Reusable Scenes/number_node.tscn
+++ b/Reusable Scenes/number_node.tscn
@@ -1,8 +1,10 @@
-[gd_scene load_steps=8 format=3 uid="uid://ccvoi0qmvlxmj"]
+[gd_scene load_steps=10 format=3 uid="uid://ccvoi0qmvlxmj"]
[ext_resource type="Script" path="res://Scripts/NumberNode.gd" id="1_7p1bu"]
[ext_resource type="Script" path="res://Scripts/NumberArea.gd" id="3_2viuw"]
[ext_resource type="Texture2D" uid="uid://4kqj3gk42j8w" path="res://Assets/Visuals/circle.png" id="3_bqdxd"]
+[ext_resource type="AudioStream" uid="uid://c5moab0afjpet" path="res://Assets/Audio/score.wav" id="4_flqws"]
+[ext_resource type="AudioStream" uid="uid://de7t4ivimmxdi" path="res://Assets/Audio/ouch.wav" id="5_peh70"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ld6aj"]
size = Vector2(44, 46)
@@ -83,5 +85,11 @@ text = "X"
horizontal_alignment = 1
vertical_alignment = 1
+[node name="Score" type="AudioStreamPlayer2D" parent="."]
+stream = ExtResource("4_flqws")
+
+[node name="Ouch" type="AudioStreamPlayer2D" parent="."]
+stream = ExtResource("5_peh70")
+
[connection signal="mouse_entered" from="NumberArea2D" to="NumberArea2D" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="NumberArea2D" to="NumberArea2D" method="_on_mouse_exited"]