2024-05-31 22:46:56 +03:00
|
|
|
[gd_scene load_steps=3 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"]
|
2024-05-30 02:14:08 +03:00
|
|
|
|
|
|
|
[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
|
|
|
|
|
2024-05-31 22:46:56 +03:00
|
|
|
[node name="ingame_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="ingame_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="ingame_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="ingame_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="ingame_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="ingame_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")
|
|
|
|
|
2024-05-30 02:14:08 +03:00
|
|
|
[node name="velocity_label" type="Label" parent="."]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 1
|
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
offset_left = -40.0
|
|
|
|
offset_bottom = 23.0
|
|
|
|
grow_horizontal = 0
|
|
|
|
text = "Speed:"
|
2024-05-30 06:58:48 +03:00
|
|
|
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 8
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
offset_left = -4.0
|
|
|
|
offset_top = -4.0
|
|
|
|
offset_right = 4.0
|
|
|
|
offset_bottom = 4.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
mouse_filter = 1
|
2024-05-30 07:22:27 +03:00
|
|
|
|
|
|
|
[node name="tile_type_label" type="Label" parent="."]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_right = 40.0
|
|
|
|
offset_bottom = 23.0
|
|
|
|
text = "Tile type: Plain"
|