[gd_scene load_steps=4 format=3] [ext_resource type="Script" path="res://ui/menu/main_menu.gd" id="script"] [ext_resource type="Theme" path="res://ui/menu/menu_theme.tres" id="theme"] [ext_resource type="PackedScene" path="res://ui/menu/rare_inventory.tscn" id="inventory"] [node name="MainMenu" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme = ExtResource("theme") script = ExtResource("script") [node name="Background" type="ColorRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 mouse_filter = 2 color = Color(0.035, 0.045, 0.055, 1) [node name="Margin" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 theme_override_constants/margin_left = 32 theme_override_constants/margin_top = 24 theme_override_constants/margin_right = 32 theme_override_constants/margin_bottom = 24 [node name="Layout" type="VBoxContainer" parent="Margin"] layout_mode = 2 theme_override_constants/separation = 16 [node name="Title" type="Label" parent="Margin/Layout"] layout_mode = 2 theme_override_font_sizes/font_size = 30 text = "INICIO" horizontal_alignment = 1 [node name="Home" type="VBoxContainer" parent="Margin/Layout"] layout_mode = 2 size_flags_vertical = 3 theme_override_constants/separation = 18 alignment = 1 [node name="Hint" type="Label" parent="Margin/Layout/Home"] layout_mode = 2 text = "Elige un escenario y entra a probar." horizontal_alignment = 1 autowrap_mode = 3 [node name="Play" type="Button" parent="Margin/Layout/Home"] custom_minimum_size = Vector2(0, 64) layout_mode = 2 text = "JUGAR" [node name="RareItems" type="Button" parent="Margin/Layout/Home"] custom_minimum_size = Vector2(0, 64) layout_mode = 2 text = "OBJETOS RAROS" [node name="Quit" type="Button" parent="Margin/Layout/Home"] custom_minimum_size = Vector2(0, 64) layout_mode = 2 text = "SALIR" [node name="Levels" type="VBoxContainer" parent="Margin/Layout"] visible = false layout_mode = 2 size_flags_vertical = 3 theme_override_constants/separation = 16 [node name="Scroll" type="ScrollContainer" parent="Margin/Layout/Levels"] layout_mode = 2 size_flags_vertical = 3 follow_focus = true horizontal_scroll_mode = 0 [node name="LevelList" type="VBoxContainer" parent="Margin/Layout/Levels/Scroll"] layout_mode = 2 size_flags_horizontal = 3 theme_override_constants/separation = 14 [node name="Empty" type="Label" parent="Margin/Layout/Levels"] visible = false layout_mode = 2 text = "No hay escenas en la raiz de levels." horizontal_alignment = 1 autowrap_mode = 3 [node name="Back" type="Button" parent="Margin/Layout/Levels"] custom_minimum_size = Vector2(0, 64) layout_mode = 2 text = "VOLVER" [node name="RareInventory" parent="Margin/Layout" instance=ExtResource("inventory")] visible = false layout_mode = 2 [node name="Error" type="Label" parent="Margin/Layout"] visible = false layout_mode = 2 theme_override_colors/font_color = Color(1, 0.65, 0.48, 1) autowrap_mode = 3 horizontal_alignment = 1 [node name="Loading" type="ColorRect" parent="."] visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 color = Color(0.035, 0.045, 0.055, 1) [node name="Content" type="VBoxContainer" parent="Loading"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 32.0 offset_top = 24.0 offset_right = -32.0 offset_bottom = -24.0 theme_override_constants/separation = 24 alignment = 1 [node name="Status" type="Label" parent="Loading/Content"] layout_mode = 2 text = "Cargando nivel..." horizontal_alignment = 1 autowrap_mode = 3 [node name="Progress" type="ProgressBar" parent="Loading/Content"] custom_minimum_size = Vector2(0, 24) layout_mode = 2 show_percentage = false