summaryrefslogtreecommitdiff
path: root/scenes/mainmenu.tscn
blob: ea0e47d176a56b14238ff89ca2a2a3a502c2b8f4 (plain)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[gd_scene load_steps=4 format=3 uid="uid://bdgohtw8nyk5g"]

[ext_resource type="Script" path="res://scripts/mainmenu.gd" id="1"]
[ext_resource type="AudioStream" uid="uid://dj4raafny50wq" path="res://sound/announcer_mainmenu.ogg" id="2"]
[ext_resource type="Theme" uid="uid://2jc1rrh032m0" path="res://theme_data/interface_theme.tres" id="4"]

[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
theme = ExtResource("4")
script = ExtResource("1")

[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
color = Color(0.0823529, 0.0745098, 0.117647, 1)

[node name="Label" type="Label" parent="."]
layout_mode = 0
anchor_left = 0.5
anchor_right = 0.5
offset_left = -48.0
offset_right = 48.0
offset_bottom = 16.0
text = "BasketBALLAZ"

[node name="Control" type="Control" parent="."]
anchors_preset = 0
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -107.0
offset_top = -60.0
offset_right = 321.0
offset_bottom = 180.0
scale = Vector2(0.5, 0.5)

[node name="VBoxContainer" type="VBoxContainer" parent="Control"]
layout_mode = 0
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -50.0
offset_top = -76.0
offset_right = 50.0
offset_bottom = 76.0

[node name="StartButton" type="Button" parent="Control/VBoxContainer"]
layout_mode = 2
text = "Start"

[node name="LeaderboardButton" type="Button" parent="Control/VBoxContainer"]
layout_mode = 2
text = "Leaderboard"

[node name="HelpButton" type="Button" parent="Control/VBoxContainer"]
layout_mode = 2
disabled = true
text = "Help"

[node name="OptionsButton" type="Button" parent="Control/VBoxContainer"]
layout_mode = 2
text = "Options"

[node name="CreditsButton" type="Button" parent="Control/VBoxContainer"]
layout_mode = 2
disabled = true
text = "Credits"

[node name="QuitButton" type="Button" parent="Control/VBoxContainer"]
layout_mode = 2
text = "Quit"

[node name="AnnouncerAudio" type="AudioStreamPlayer" parent="."]
stream = ExtResource("2")
volume_db = -15.0
autoplay = true

[connection signal="pressed" from="Control/VBoxContainer/StartButton" to="." method="_on_StartButton_pressed"]
[connection signal="pressed" from="Control/VBoxContainer/LeaderboardButton" to="." method="_on_LeaderboardButton_pressed"]
[connection signal="pressed" from="Control/VBoxContainer/HelpButton" to="." method="_on_HelpButton_pressed"]
[connection signal="pressed" from="Control/VBoxContainer/OptionsButton" to="." method="_on_OptionsButton_pressed"]
[connection signal="pressed" from="Control/VBoxContainer/CreditsButton" to="." method="_on_CreditsButton_pressed"]
[connection signal="pressed" from="Control/VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"]