Godsim/scenes/UI/ingame_menu.tscn

74 lines
1.7 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=3 format=3 uid="uid://csfa8wr1fbfb2"]
[ext_resource type="Script" path="res://scripts/ingame_menu.gd" id="1_swq50"]
2024-05-31 22:46:56 +03:00
[ext_resource type="Script" path="res://scripts/m_button.gd" id="2_cehp5"]
[node name="ingame_menu" 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_swq50")
[node name="PanelContainer" type="PanelContainer" parent="."]
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="."]
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="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"
2024-05-31 22:46:56 +03:00
script = ExtResource("2_cehp5")
[node name="save_exit_button" type="Button" parent="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"
2024-05-31 22:46:56 +03:00
script = ExtResource("2_cehp5")
[node name="exit_nosave_button" type="Button" parent="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"
2024-05-31 22:46:56 +03:00
script = ExtResource("2_cehp5")