summaryrefslogtreecommitdiff
path: root/scenes
diff options
context:
space:
mode:
Diffstat (limited to 'scenes')
-rw-r--r--scenes/GUI/main_menu.tscn91
-rw-r--r--scenes/Game.tscn3
-rw-r--r--scenes/game_manager.tscn6
3 files changed, 99 insertions, 1 deletions
diff --git a/scenes/GUI/main_menu.tscn b/scenes/GUI/main_menu.tscn
new file mode 100644
index 0000000..2794830
--- /dev/null
+++ b/scenes/GUI/main_menu.tscn
@@ -0,0 +1,91 @@
+[gd_scene load_steps=10 format=3 uid="uid://cppjdsdfkkxtm"]
+
+[ext_resource type="Script" uid="uid://dx0fxht2oadb6" path="res://scripts/GUI/MainMenu.cs" id="1_b4h60"]
+[ext_resource type="Texture2D" uid="uid://bxjwbucke02gl" path="res://assets/bg.png" id="1_tbt31"]
+
+[sub_resource type="LabelSettings" id="LabelSettings_b4h60"]
+font_size = 32
+
+[sub_resource type="InputEventKey" id="InputEventKey_tbt31"]
+device = -1
+keycode = 78
+unicode = 110
+
+[sub_resource type="Shortcut" id="Shortcut_b4h60"]
+events = [SubResource("InputEventKey_tbt31")]
+
+[sub_resource type="InputEventKey" id="InputEventKey_kebck"]
+device = -1
+keycode = 67
+unicode = 99
+
+[sub_resource type="Shortcut" id="Shortcut_1ei6q"]
+events = [SubResource("InputEventKey_kebck")]
+
+[sub_resource type="InputEventKey" id="InputEventKey_xm7ak"]
+device = -1
+keycode = 83
+unicode = 115
+
+[sub_resource type="Shortcut" id="Shortcut_h03jd"]
+events = [SubResource("InputEventKey_xm7ak")]
+
+[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
+script = ExtResource("1_b4h60")
+
+[node name="Background" type="TextureRect" parent="."]
+layout_mode = 1
+anchors_preset = 15
+anchor_right = 1.0
+anchor_bottom = 1.0
+grow_horizontal = 2
+grow_vertical = 2
+texture = ExtResource("1_tbt31")
+stretch_mode = 6
+
+[node name="VBoxContainer" type="VBoxContainer" parent="."]
+layout_mode = 1
+anchors_preset = 15
+anchor_right = 1.0
+anchor_bottom = 1.0
+grow_horizontal = 2
+grow_vertical = 2
+
+[node name="CenterContainer" type="CenterContainer" parent="VBoxContainer"]
+layout_mode = 2
+size_flags_vertical = 3
+
+[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/CenterContainer"]
+layout_mode = 2
+
+[node name="Label" type="Label" parent="VBoxContainer/CenterContainer/VBoxContainer"]
+layout_mode = 2
+text = "The Legend of Gustav"
+label_settings = SubResource("LabelSettings_b4h60")
+
+[node name="neogame" type="Button" parent="VBoxContainer/CenterContainer/VBoxContainer"]
+layout_mode = 2
+shortcut = SubResource("Shortcut_b4h60")
+shortcut_feedback = false
+text = "[N] Novo jogo"
+
+[node name="continue" type="Button" parent="VBoxContainer/CenterContainer/VBoxContainer"]
+layout_mode = 2
+shortcut = SubResource("Shortcut_1ei6q")
+shortcut_feedback = false
+text = "[C] Continuar"
+
+[node name="quit" type="Button" parent="VBoxContainer/CenterContainer/VBoxContainer"]
+layout_mode = 2
+shortcut = SubResource("Shortcut_h03jd")
+text = "[S] Sair"
+
+[node name="Label" type="Label" parent="VBoxContainer"]
+layout_mode = 2
+text = "Não temo a morte, temo o tempo."
diff --git a/scenes/Game.tscn b/scenes/Game.tscn
index 96ba3c0..e53783b 100644
--- a/scenes/Game.tscn
+++ b/scenes/Game.tscn
@@ -33,8 +33,9 @@ script = ExtResource("5_s0nni")
[node name="Entities" type="Node2D" parent="Map"]
-[node name="InspectDetails" parent="Map" instance=ExtResource("5_qy1jj")]
+[node name="InspectDetails" parent="Map" node_paths=PackedStringArray("map") instance=ExtResource("5_qy1jj")]
visible = false
+map = NodePath("..")
[node name="InputHandler" type="Node" parent="."]
script = ExtResource("3_s0nni")
diff --git a/scenes/game_manager.tscn b/scenes/game_manager.tscn
new file mode 100644
index 0000000..db916d5
--- /dev/null
+++ b/scenes/game_manager.tscn
@@ -0,0 +1,6 @@
+[gd_scene load_steps=2 format=3 uid="uid://cqrq8cosoge7i"]
+
+[ext_resource type="Script" uid="uid://hya6i6i11teo" path="res://scripts/GameManager.cs" id="1_hwd4i"]
+
+[node name="GameManager" type="Node"]
+script = ExtResource("1_hwd4i")