-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainMenu.tscn
55 lines (46 loc) · 1.83 KB
/
MainMenu.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[gd_scene load_steps=5 format=3 uid="uid://ca75txrptcfjp"]
[ext_resource type="Script" path="res://main_menu.gd" id="1_8vucm"]
[ext_resource type="Texture2D" uid="uid://dpj01e6a1djq3" path="res://assets/textures/winter wonderland 3.jpg" id="2_288qe"]
[ext_resource type="Texture2D" uid="uid://dsiqbaigcnghd" path="res://assets/textures/Snowballin-12-11-2024.png" id="3_wwiyq"]
[ext_resource type="AudioStream" uid="uid://2niegjjdjeq0" path="res://assets/sounds/Snowflake Lake - Mario Party 6 Soundtrack.mp3" id="4_o5yy8"]
[node name="Menu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_8vucm")
[node name="WinterWonderland3" type="Sprite2D" parent="."]
position = Vector2(546, 317)
texture = ExtResource("2_288qe")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -83.0
offset_top = -197.665
offset_right = 83.0
offset_bottom = -84.665
grow_horizontal = 2
grow_vertical = 0
[node name="StartButton" type="Button" parent="VBoxContainer"]
layout_mode = 2
focus_neighbor_top = NodePath("../QuitButton")
text = "Start"
[node name="QuitButton" type="Button" parent="VBoxContainer"]
layout_mode = 2
focus_neighbor_bottom = NodePath("../StartButton")
text = "Quit"
[node name="Snowballin-12-11-2024" type="Sprite2D" parent="."]
position = Vector2(573, 217)
texture = ExtResource("3_wwiyq")
[node name="Background music" type="AudioStreamPlayer" parent="."]
stream = ExtResource("4_o5yy8")
volume_db = -28.204
autoplay = true
[connection signal="pressed" from="VBoxContainer/StartButton" to="." method="_on_start_button_pressed"]
[connection signal="pressed" from="VBoxContainer/QuitButton" to="." method="_on_quit_button_pressed"]