[gd_scene load_steps=8 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="FontFile" uid="uid://dmc6dygxrekja" path="res://assets/fonts/BreatheFireIii-PKLOB.ttf" id="2_vjast"] [ext_resource type="Script" path="res://scripts/joystick.gd" id="4_6b5cb"] [ext_resource type="Texture2D" uid="uid://8anyvhkcy4ng" path="res://assets/textures/Xbox Series/Vector/xbox_button_a.svg" id="5_pwhwh"] [ext_resource type="Script" path="res://scripts/camera_controls.gd" id="6_u5aqx"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_7t5ln"] [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="."] visible = false [node name="MainMenu" type="Control" parent="CanvasLayer"] 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("2_vjast") theme_override_font_sizes/font_size = 70 text = "M O N S T E R F A N G E N" 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="VBoxContainer2" type="VBoxContainer" parent="ControlsLayer"] anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="Panel" type="Panel" parent="ControlsLayer/VBoxContainer2"] custom_minimum_size = Vector2(300, 300) layout_mode = 2 size_flags_horizontal = 0 theme_override_styles/panel = SubResource("StyleBoxEmpty_7t5ln") script = ExtResource("4_6b5cb") [node name="Thumbstick" type="TextureRect" parent="ControlsLayer/VBoxContainer2/Panel"] 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="gui_input" from="ControlsLayer/VBoxContainer2/Panel" to="ControlsLayer/VBoxContainer2/Panel" method="_on_gui_input"] [connection signal="resized" from="ControlsLayer/VBoxContainer2/Panel" to="ControlsLayer/VBoxContainer2/Panel" method="_on_resized"]