[gd_scene load_steps=7 format=3 uid="uid://bs7ctvbx7xov5"] [ext_resource type="Script" path="res://scripts/ingame_menu.gd" id="1_6fvrf"] [ext_resource type="Script" path="res://scripts/menu_button.gd" id="2_n0jsa"] [sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_0ge5s"] size = Vector2(64, 64) [sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_pitss"] size = Vector2(64, 64) [sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_j1lo1"] size = Vector2(64, 64) [sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_23dg4"] size = Vector2(64, 64) [node name="UI" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 1 [node name="escape_menu" type="Control" parent="."] visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_6fvrf") [node name="PanelContainer" type="PanelContainer" parent="escape_menu"] modulate = Color(1, 1, 1, 0.501961) layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 89.0 offset_top = 93.0 offset_right = -89.0 offset_bottom = -93.0 grow_horizontal = 2 grow_vertical = 2 [node name="Buttons" type="Control" parent="escape_menu"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -20.0 offset_top = -20.0 offset_right = 20.0 offset_bottom = 20.0 grow_horizontal = 2 grow_vertical = 2 [node name="save_world_button" type="Button" parent="escape_menu/Buttons"] layout_mode = 2 offset_left = -45.0 offset_top = -45.0 offset_right = 46.0 offset_bottom = -14.0 size_flags_horizontal = 4 size_flags_vertical = 4 text = "Save world" script = ExtResource("2_n0jsa") [node name="save_exit_button" type="Button" parent="escape_menu/Buttons"] layout_mode = 2 offset_left = -71.0 offset_top = 22.0 offset_right = 87.0 offset_bottom = 53.0 size_flags_horizontal = 4 size_flags_vertical = 4 text = "Save and exit game" script = ExtResource("2_n0jsa") [node name="exit_nosave_button" type="Button" parent="escape_menu/Buttons"] layout_mode = 2 offset_left = 334.0 offset_top = 212.0 offset_right = 492.0 offset_bottom = 243.0 size_flags_horizontal = 4 size_flags_vertical = 4 text = "exit without saving" script = ExtResource("2_n0jsa") [node name="game_overlay" type="Control" parent="."] anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 mouse_filter = 1 [node name="velocity_label" type="Label" parent="game_overlay"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = 1060.0 offset_right = 1112.0 offset_bottom = 23.0 grow_horizontal = 0 text = "Speed:" [node name="Panel" type="Panel" parent="game_overlay"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = 552.0 offset_top = 300.0 offset_right = 560.0 offset_bottom = 308.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 1 [node name="tile_type_label" type="Label" parent="game_overlay"] layout_mode = 0 offset_right = 113.0 offset_bottom = 23.0 text = "Tile type: Plain" [node name="game_menu" type="Control" parent="."] visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_6fvrf") [node name="Panel" type="Panel" parent="game_menu"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 40.0 offset_top = 40.0 offset_right = -40.0 offset_bottom = -40.0 grow_horizontal = 2 grow_vertical = 2 [node name="powers_list" type="ItemList" parent="game_menu/Panel"] layout_mode = 1 anchors_preset = 9 anchor_bottom = 1.0 offset_right = 387.0 grow_vertical = 2 allow_reselect = true item_count = 4 max_columns = 3 item_0/text = "Empty" item_0/icon = SubResource("PlaceholderTexture2D_0ge5s") item_1/text = "Plain" item_1/icon = SubResource("PlaceholderTexture2D_pitss") item_2/text = "Forest" item_2/icon = SubResource("PlaceholderTexture2D_j1lo1") item_3/text = "Lake" item_3/icon = SubResource("PlaceholderTexture2D_23dg4")