summaryrefslogtreecommitdiff
path: root/scenes/mainmenu.tscn
blob: 492435aa68f56c4c1b9489c2c157a2b7e601f1d3 (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
92
93
94
95
[gd_scene load_steps=5 format=2]

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

[node name="Menu" type="Control"]
margin_right = 214.0
margin_bottom = 120.0
script = ExtResource( 1 )

[node name="ColorRect" type="ColorRect" parent="."]
margin_right = 214.0
margin_bottom = 120.0
color = Color( 0, 0, 0, 1 )

[node name="Label" type="Label" parent="."]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -48.0
margin_right = 48.0
margin_bottom = 16.0
custom_colors/font_color_shadow = Color( 0.894118, 0.313726, 0, 1 )
text = "BasketBALLAZ"

[node name="Control" type="Control" parent="."]
margin_right = 428.0
margin_bottom = 240.0
rect_scale = Vector2( 0.5, 0.5 )

[node name="VBoxContainer" type="VBoxContainer" parent="Control"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -50.0
margin_top = -76.0
margin_right = 50.0
margin_bottom = 76.0

[node name="StartButton" type="Button" parent="Control/VBoxContainer"]
margin_right = 100.0
margin_bottom = 22.0
text = "Start"

[node name="LeaderboardButton" type="Button" parent="Control/VBoxContainer"]
margin_top = 26.0
margin_right = 100.0
margin_bottom = 48.0
disabled = true
text = "Leaderboard"

[node name="HelpButton" type="Button" parent="Control/VBoxContainer"]
margin_top = 52.0
margin_right = 100.0
margin_bottom = 74.0
disabled = true
text = "Help"

[node name="OptionsButton" type="Button" parent="Control/VBoxContainer"]
margin_top = 78.0
margin_right = 100.0
margin_bottom = 100.0
text = "Options"

[node name="CreditsButton" type="Button" parent="Control/VBoxContainer"]
margin_top = 104.0
margin_right = 100.0
margin_bottom = 126.0
disabled = true
text = "Credits"

[node name="QuitButton" type="Button" parent="Control/VBoxContainer"]
margin_top = 130.0
margin_right = 100.0
margin_bottom = 152.0
text = "Quit"

[node name="MusicAudio" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 3 )
volume_db = -30.0
stream_paused = true

[node name="AnnouncerAudio" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 2 )
volume_db = -20.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"]