diff options
| author | Anson Bridges <bridges.anson@gmail.com> | 2025-08-22 12:46:04 -0700 |
|---|---|---|
| committer | Anson Bridges <bridges.anson@gmail.com> | 2025-08-22 12:46:04 -0700 |
| commit | 64f37f4209d80bfad976dd4a139c98002caef15f (patch) | |
| tree | 94c91953986e960573ae0092f8ad7120c1c266f0 /pages/MainMenu.tscn | |
| parent | 255fbf19cc9499ef384d41f68515da5e49e8a3ce (diff) | |
Diffstat (limited to 'pages/MainMenu.tscn')
| -rw-r--r-- | pages/MainMenu.tscn | 53 |
1 files changed, 42 insertions, 11 deletions
diff --git a/pages/MainMenu.tscn b/pages/MainMenu.tscn index d216836..5d1f21c 100644 --- a/pages/MainMenu.tscn +++ b/pages/MainMenu.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=17 format=2] +[gd_scene load_steps=15 format=2] [ext_resource path="res://scripts/MainMenu.gd" type="Script" id=1] [ext_resource path="res://resources/fonts/Cochineal-Bold.otf" type="DynamicFontData" id=2] @@ -25,15 +25,6 @@ font_data = ExtResource( 2 ) default_font = SubResource( 1 ) Button/fonts/font = SubResource( 30 ) -[sub_resource type="Gradient" id=15] -offsets = PoolRealArray( 0 ) -colors = PoolColorArray( 0, 0, 0, 1 ) - -[sub_resource type="GradientTexture2D" id=22] -gradient = SubResource( 15 ) -width = 32 -height = 32 - [sub_resource type="Gradient" id=23] offsets = PoolRealArray( 0 ) colors = PoolColorArray( 0, 0, 0, 1 ) @@ -145,7 +136,7 @@ margin_right = 202.0 margin_bottom = 87.0 rect_min_size = Vector2( 60, 40 ) size_flags_horizontal = 0 -icon = SubResource( 22 ) +icon = SubResource( 21 ) expand_icon = true items = [ "", SubResource( 21 ), false, 0, null, "", SubResource( 21 ), false, 1, null, "", SubResource( 21 ), false, 2, null, "", SubResource( 21 ), false, 3, null, "", SubResource( 21 ), false, 4, null, "", SubResource( 21 ), false, 5, null, "", SubResource( 21 ), false, 6, null, "", SubResource( 21 ), false, 7, null, "", SubResource( 21 ), false, 8, null, "", SubResource( 21 ), false, 9, null ] selected = 0 @@ -297,3 +288,43 @@ theme = ExtResource( 4 ) max_length = 39 placeholder_text = "Game Coordinator URL" placeholder_alpha = 0.389 + +[node name="NotifPopup" type="PopupPanel" parent="."] +anchor_left = 0.4 +anchor_top = 0.35 +anchor_right = 0.6 +anchor_bottom = 0.65 +margin_right = 8.0 +margin_bottom = 8.0 +popup_exclusive = true + +[node name="PopupControl" type="Control" parent="NotifPopup"] +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = 4.0 +margin_top = 4.0 +margin_right = -4.0 +margin_bottom = -4.0 + +[node name="TitleLabel" type="Label" parent="NotifPopup/PopupControl"] +anchor_left = 0.1 +anchor_right = 0.9 +anchor_bottom = 0.15 +theme = ExtResource( 4 ) + +[node name="MessageLabel" type="Label" parent="NotifPopup/PopupControl"] +anchor_left = 0.05 +anchor_top = 0.25 +anchor_right = 0.95 +anchor_bottom = 0.75 + +[node name="ClosePopupButton" type="Button" parent="NotifPopup/PopupControl"] +anchor_left = 0.3 +anchor_top = 0.8 +anchor_right = 0.3 +anchor_bottom = 0.8 +rect_min_size = Vector2( 120, 50 ) +theme = ExtResource( 4 ) +text = "Close" + +[connection signal="pressed" from="NotifPopup/PopupControl/ClosePopupButton" to="NotifPopup" method="set_visible" binds= [ false ]] |
