summaryrefslogtreecommitdiff
path: root/scenes/mainmenu.tscn
diff options
context:
space:
mode:
authorLogan <logan@cflip.net>2023-04-30 18:51:05 -0600
committerLogan <logan@cflip.net>2023-04-30 18:51:05 -0600
commitf4381c59c1d239400fbd787fe3a5247f0c535460 (patch)
tree8dfc62aaf276e7f8438e96fec4467bcde917d286 /scenes/mainmenu.tscn
parentf30fbd753b23be1f71b4bada5e7063ac00215c33 (diff)
Move to Godot 4 and fixes
Diffstat (limited to 'scenes/mainmenu.tscn')
-rw-r--r--scenes/mainmenu.tscn71
1 files changed, 34 insertions, 37 deletions
diff --git a/scenes/mainmenu.tscn b/scenes/mainmenu.tscn
index 49fed43..ea0e47d 100644
--- a/scenes/mainmenu.tscn
+++ b/scenes/mainmenu.tscn
@@ -1,88 +1,85 @@
-[gd_scene load_steps=4 format=2]
+[gd_scene load_steps=4 format=3 uid="uid://bdgohtw8nyk5g"]
-[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://theme_data/interface_theme.tres" type="Theme" id=4]
+[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
-theme = ExtResource( 4 )
-script = ExtResource( 1 )
+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 )
+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
-margin_left = -48.0
-margin_right = 48.0
-margin_bottom = 16.0
+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
-margin_left = -107.0
-margin_top = -60.0
-margin_right = 321.0
-margin_bottom = 180.0
-rect_scale = Vector2( 0.5, 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
-margin_left = -50.0
-margin_top = -76.0
-margin_right = 50.0
-margin_bottom = 76.0
+offset_left = -50.0
+offset_top = -76.0
+offset_right = 50.0
+offset_bottom = 76.0
[node name="StartButton" type="Button" parent="Control/VBoxContainer"]
-margin_right = 100.0
-margin_bottom = 18.0
+layout_mode = 2
text = "Start"
[node name="LeaderboardButton" type="Button" parent="Control/VBoxContainer"]
-margin_top = 22.0
-margin_right = 100.0
-margin_bottom = 40.0
+layout_mode = 2
text = "Leaderboard"
[node name="HelpButton" type="Button" parent="Control/VBoxContainer"]
-margin_top = 44.0
-margin_right = 100.0
-margin_bottom = 62.0
+layout_mode = 2
disabled = true
text = "Help"
[node name="OptionsButton" type="Button" parent="Control/VBoxContainer"]
-margin_top = 66.0
-margin_right = 100.0
-margin_bottom = 84.0
+layout_mode = 2
text = "Options"
[node name="CreditsButton" type="Button" parent="Control/VBoxContainer"]
-margin_top = 88.0
-margin_right = 100.0
-margin_bottom = 106.0
+layout_mode = 2
disabled = true
text = "Credits"
[node name="QuitButton" type="Button" parent="Control/VBoxContainer"]
-margin_top = 110.0
-margin_right = 100.0
-margin_bottom = 128.0
+layout_mode = 2
text = "Quit"
[node name="AnnouncerAudio" type="AudioStreamPlayer" parent="."]
-stream = ExtResource( 2 )
+stream = ExtResource("2")
volume_db = -15.0
autoplay = true