[gd_scene load_steps=14 format=3 uid="uid://cswuap81n7t3f"] [ext_resource type="Texture2D" uid="uid://b6ylra30qxf30" path="res://assets/logo/logo.png" id="1_fpt28"] [ext_resource type="PackedScene" uid="uid://p8agd0dfam0p" path="res://scenes/debug_level.tscn" id="1_j851n"] [ext_resource type="Script" path="res://scripts/inventory.gd" id="2_0mkyf"] [ext_resource type="Script" path="res://scripts/joystick.gd" id="4_6b5cb"] [ext_resource type="FontFile" uid="uid://bjaavdnopfh0q" path="res://assets/fonts/aoboshi_one/AoboshiOne-Regular.ttf" id="4_33gx1"] [ext_resource type="Texture2D" uid="uid://8anyvhkcy4ng" path="res://assets/textures/Xbox Series/Vector/xbox_button_a.svg" id="5_pwhwh"] [ext_resource type="Texture2D" uid="uid://2vxx2waofxpw" path="res://assets/textures/Xbox Series/Vector/xbox_button_menu_outline.svg" id="6_78vsk"] [ext_resource type="Script" path="res://scripts/monster_list.gd" id="6_shxjx"] [ext_resource type="Script" path="res://scripts/camera_controls.gd" id="6_u5aqx"] [ext_resource type="Texture2D" uid="uid://c737p2osplq2o" path="res://assets/textures/Xbox Series/Vector/xbox_button_x_outline.svg" id="7_rroeh"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kl7kg"] bg_color = Color(0.8, 0.8, 0.8, 1) corner_radius_top_left = 10 corner_radius_top_right = 10 corner_radius_bottom_right = 10 corner_radius_bottom_left = 10 [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_0o2ai"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wyqgq"] bg_color = Color(0, 0, 0, 0.196078) corner_radius_top_left = 999 corner_radius_top_right = 999 corner_radius_bottom_right = 999 corner_radius_bottom_left = 999 [node name="Main" type="Node3D"] [node name="CurrentLevel" type="Node3D" parent="."] [node name="DebugLevel" parent="CurrentLevel" instance=ExtResource("1_j851n")] [node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="Inventory" type="Control" parent="CanvasLayer"] layout_mode = 3 anchors_preset = 10 anchor_right = 1.0 grow_horizontal = 2 script = ExtResource("2_0mkyf") [node name="MonsterList" type="VBoxContainer" parent="CanvasLayer/Inventory"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -137.0 offset_bottom = 40.0 grow_horizontal = 0 theme_override_constants/separation = 10 [node name="Monster1" type="Label" parent="CanvasLayer/Inventory/MonsterList"] layout_mode = 2 text = "Monster 1: empty" [node name="Monster2" type="Label" parent="CanvasLayer/Inventory/MonsterList"] layout_mode = 2 text = "Monster 2: empty" [node name="Monster3" type="Label" parent="CanvasLayer/Inventory/MonsterList"] layout_mode = 2 text = "Monster 3: empty" [node name="Monster4" type="Label" parent="CanvasLayer/Inventory/MonsterList"] layout_mode = 2 text = "Monster 4: empty" [node name="Monster5" type="Label" parent="CanvasLayer/Inventory/MonsterList"] layout_mode = 2 text = "Monster 5: empty" [node name="Monster6" type="Label" parent="CanvasLayer/Inventory/MonsterList"] layout_mode = 2 text = "Monster 6: empty" [node name="MainMenu" type="Control" parent="CanvasLayer"] visible = false layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/MainMenu"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 50 [node name="Logo" type="TextureRect" parent="CanvasLayer/MainMenu/VBoxContainer"] layout_mode = 2 texture = ExtResource("1_fpt28") expand_mode = 4 stretch_mode = 5 [node name="Label" type="Label" parent="CanvasLayer/MainMenu/VBoxContainer/Logo"] layout_mode = 1 anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -23.0 grow_horizontal = 2 grow_vertical = 0 theme_override_colors/font_color = Color(0.945573, 0.745802, 0.348774, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_constants/outline_size = 30 theme_override_fonts/font = ExtResource("4_33gx1") theme_override_font_sizes/font_size = 70 text = "MONSTER FANGEN" horizontal_alignment = 1 max_lines_visible = 2 [node name="MenuButtons" type="VBoxContainer" parent="CanvasLayer/MainMenu/VBoxContainer"] layout_mode = 2 size_flags_horizontal = 4 [node name="NewGameButton" type="Button" parent="CanvasLayer/MainMenu/VBoxContainer/MenuButtons"] layout_mode = 2 text = "New Game" [node name="ContinueGameButton" type="Button" parent="CanvasLayer/MainMenu/VBoxContainer/MenuButtons"] layout_mode = 2 text = "Continue" [node name="OptionsButton" type="Button" parent="CanvasLayer/MainMenu/VBoxContainer/MenuButtons"] layout_mode = 2 text = "Options" [node name="ExitButton" type="Button" parent="CanvasLayer/MainMenu/VBoxContainer/MenuButtons"] layout_mode = 2 text = "Exit" [node name="ControlsLayer" type="CanvasLayer" parent="."] [node name="CameraControls" type="Control" parent="ControlsLayer"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("6_u5aqx") [node name="MonsterList" type="MarginContainer" parent="ControlsLayer"] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("6_shxjx") [node name="MarginContainer" type="MarginContainer" parent="ControlsLayer/MonsterList"] layout_mode = 2 theme_override_constants/margin_left = 40 theme_override_constants/margin_top = 40 theme_override_constants/margin_right = 40 theme_override_constants/margin_bottom = 40 [node name="PanelContainer" type="PanelContainer" parent="ControlsLayer/MonsterList/MarginContainer"] layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_kl7kg") [node name="VBoxContainer" type="VBoxContainer" parent="ControlsLayer/MonsterList/MarginContainer/PanelContainer"] layout_mode = 2 [node name="Control" type="HBoxContainer" parent="ControlsLayer/MonsterList/MarginContainer/PanelContainer/VBoxContainer"] layout_mode = 2 [node name="Label" type="Label" parent="ControlsLayer/MonsterList/MarginContainer/PanelContainer/VBoxContainer/Control"] layout_mode = 2 size_flags_horizontal = 3 theme_override_fonts/font = ExtResource("4_33gx1") theme_override_font_sizes/font_size = 50 text = "Your Monsters" horizontal_alignment = 1 vertical_alignment = 1 [node name="CloseButton" type="Button" parent="ControlsLayer/MonsterList/MarginContainer/PanelContainer/VBoxContainer/Control"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 8 icon = ExtResource("7_rroeh") flat = true [node name="MarginContainer" type="MarginContainer" parent="ControlsLayer/MonsterList/MarginContainer/PanelContainer/VBoxContainer"] layout_mode = 2 theme_override_constants/margin_left = 20 theme_override_constants/margin_right = 20 [node name="MonsterListEntry" type="HBoxContainer" parent="ControlsLayer/MonsterList/MarginContainer/PanelContainer/VBoxContainer/MarginContainer"] layout_mode = 2 [node name="TextureRect" type="TextureRect" parent="ControlsLayer/MonsterList/MarginContainer/PanelContainer/VBoxContainer/MarginContainer/MonsterListEntry"] custom_minimum_size = Vector2(70, 70) layout_mode = 2 texture = ExtResource("1_fpt28") expand_mode = 2 [node name="MonsterID" type="Label" parent="ControlsLayer/MonsterList/MarginContainer/PanelContainer/VBoxContainer/MarginContainer/MonsterListEntry"] layout_mode = 2 size_flags_vertical = 1 text = "ID" vertical_alignment = 1 [node name="MonsterName" type="Label" parent="ControlsLayer/MonsterList/MarginContainer/PanelContainer/VBoxContainer/MarginContainer/MonsterListEntry"] layout_mode = 2 size_flags_vertical = 1 text = "Name" vertical_alignment = 1 [node name="MonsterLevel" type="Label" parent="ControlsLayer/MonsterList/MarginContainer/PanelContainer/VBoxContainer/MarginContainer/MonsterListEntry"] layout_mode = 2 size_flags_vertical = 1 text = "Lvl" vertical_alignment = 1 [node name="MonsterHealth" type="Label" parent="ControlsLayer/MonsterList/MarginContainer/PanelContainer/VBoxContainer/MarginContainer/MonsterListEntry"] layout_mode = 2 size_flags_vertical = 1 text = "Health" vertical_alignment = 1 [node name="ProgressBar" type="ProgressBar" parent="ControlsLayer/MonsterList/MarginContainer/PanelContainer/VBoxContainer/MarginContainer/MonsterListEntry"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 4 [node name="Button" type="Button" parent="ControlsLayer/MonsterList/MarginContainer/PanelContainer/VBoxContainer/MarginContainer/MonsterListEntry"] custom_minimum_size = Vector2(30, 30) layout_mode = 2 size_flags_horizontal = 10 icon = ExtResource("6_78vsk") flat = true icon_alignment = 1 [node name="MarginContainer" type="MarginContainer" parent="ControlsLayer"] anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -376.0 grow_horizontal = 2 grow_vertical = 0 theme_override_constants/margin_left = 30 theme_override_constants/margin_bottom = 30 [node name="VBoxContainer2" type="VBoxContainer" parent="ControlsLayer/MarginContainer"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="MenuButton" type="Button" parent="ControlsLayer/MarginContainer/VBoxContainer2"] custom_minimum_size = Vector2(150, 150) layout_mode = 2 size_flags_horizontal = 0 theme_override_styles/focus = SubResource("StyleBoxEmpty_0o2ai") icon = ExtResource("6_78vsk") flat = true icon_alignment = 1 expand_icon = true [node name="Panel" type="Panel" parent="ControlsLayer/MarginContainer/VBoxContainer2"] custom_minimum_size = Vector2(300, 300) layout_mode = 2 size_flags_horizontal = 0 theme_override_styles/panel = SubResource("StyleBoxFlat_wyqgq") script = ExtResource("4_6b5cb") [node name="Thumbstick" type="TextureRect" parent="ControlsLayer/MarginContainer/VBoxContainer2/Panel"] self_modulate = Color(0, 0, 0, 0.392157) custom_minimum_size = Vector2(100, 100) layout_mode = 0 offset_right = 40.0 offset_bottom = 40.0 texture = ExtResource("5_pwhwh") [connection signal="gui_input" from="ControlsLayer/CameraControls" to="ControlsLayer/CameraControls" method="_on_gui_input"] [connection signal="pressed" from="ControlsLayer/MonsterList/MarginContainer/PanelContainer/VBoxContainer/Control/CloseButton" to="ControlsLayer/MonsterList" method="_on_close_button_pressed"] [connection signal="gui_input" from="ControlsLayer/MarginContainer/VBoxContainer2/Panel" to="ControlsLayer/MarginContainer/VBoxContainer2/Panel" method="_on_gui_input"] [connection signal="resized" from="ControlsLayer/MarginContainer/VBoxContainer2/Panel" to="ControlsLayer/MarginContainer/VBoxContainer2/Panel" method="_on_resized"]