summaryrefslogtreecommitdiff
path: root/src/ui/main_menu/scenes/MenuOption.tscn
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-06-04 10:27:35 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-06-04 10:27:35 -0600
commit9a2bcf02c2623c8f3e8f5e74e70b3c0333790484 (patch)
tree42c7398d15c6b888b7d9d00ecb4e8fc5107501c7 /src/ui/main_menu/scenes/MenuOption.tscn
parente6beb7d4d3450c68ca5ebfae040f42dd82db1b31 (diff)
refactor nodes to work with native scene changer, add functioning main menu
Diffstat (limited to 'src/ui/main_menu/scenes/MenuOption.tscn')
-rw-r--r--src/ui/main_menu/scenes/MenuOption.tscn27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/ui/main_menu/scenes/MenuOption.tscn b/src/ui/main_menu/scenes/MenuOption.tscn
new file mode 100644
index 0000000..d6bb05f
--- /dev/null
+++ b/src/ui/main_menu/scenes/MenuOption.tscn
@@ -0,0 +1,27 @@
+[gd_scene load_steps=3 format=2]
+
+[ext_resource path="res://fonts/MonogramExtended.tres" type="DynamicFont" id=2]
+[ext_resource path="res://ui/main_menu/scripts/menu_option.gd" type="Script" id=3]
+
+[node name="MenuOption" type="CenterContainer"]
+margin_right = 49.0
+margin_bottom = 16.0
+script = ExtResource( 3 )
+
+[node name="HBox" type="HBoxContainer" parent="."]
+margin_right = 80.0
+margin_bottom = 16.0
+
+[node name="Selector" type="TextureRect" parent="HBox"]
+margin_right = 16.0
+margin_bottom = 16.0
+rect_min_size = Vector2( 16, 16 )
+
+[node name="Label" type="Label" parent="HBox"]
+margin_left = 20.0
+margin_top = 1.0
+margin_right = 80.0
+margin_bottom = 14.0
+rect_min_size = Vector2( 60, 0 )
+custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
+custom_fonts/font = ExtResource( 2 )