70 lines
2.1 KiB
Plaintext
70 lines
2.1 KiB
Plaintext
|
[gd_scene load_steps=6 format=2]
|
||
|
|
||
|
[ext_resource path="res://resources/ui/theme.tres" type="Theme" id=1]
|
||
|
[ext_resource path="res://scripts/menus/ingame_menu.gd" type="Script" id=2]
|
||
|
[ext_resource path="res://assets/icons/open.png" type="Texture" id=3]
|
||
|
[ext_resource path="res://assets/icons/wrench.png" type="Texture" id=4]
|
||
|
[ext_resource path="res://assets/icons/arrowLeft.png" type="Texture" id=5]
|
||
|
|
||
|
[node name="ingame_menu" type="Control"]
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
margin_left = -0.857361
|
||
|
margin_right = -0.857361
|
||
|
theme = ExtResource( 1 )
|
||
|
script = ExtResource( 2 )
|
||
|
|
||
|
[node name="menu" type="Panel" parent="."]
|
||
|
anchor_left = 0.5
|
||
|
anchor_top = 0.5
|
||
|
anchor_right = 0.5
|
||
|
anchor_bottom = 0.5
|
||
|
margin_left = -155.0
|
||
|
margin_top = -100.5
|
||
|
margin_right = 155.0
|
||
|
margin_bottom = 100.5
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
|
||
|
[node name="VBoxContainer" type="VBoxContainer" parent="menu"]
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
|
||
|
[node name="resume" type="Button" parent="menu/VBoxContainer"]
|
||
|
margin_right = 310.0
|
||
|
margin_bottom = 64.0
|
||
|
focus_neighbour_top = NodePath("../end")
|
||
|
focus_neighbour_bottom = NodePath("../settings")
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 3
|
||
|
text = "RESUME"
|
||
|
icon = ExtResource( 3 )
|
||
|
flat = true
|
||
|
|
||
|
[node name="settings" type="Button" parent="menu/VBoxContainer"]
|
||
|
margin_top = 68.0
|
||
|
margin_right = 310.0
|
||
|
margin_bottom = 132.0
|
||
|
focus_neighbour_top = NodePath("../resume")
|
||
|
focus_neighbour_bottom = NodePath("../end")
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 3
|
||
|
text = "SETTINGS"
|
||
|
icon = ExtResource( 4 )
|
||
|
flat = true
|
||
|
|
||
|
[node name="end" type="Button" parent="menu/VBoxContainer"]
|
||
|
margin_top = 136.0
|
||
|
margin_right = 310.0
|
||
|
margin_bottom = 201.0
|
||
|
focus_neighbour_top = NodePath("../settings")
|
||
|
focus_neighbour_bottom = NodePath("../resume")
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 3
|
||
|
text = "END_GAME"
|
||
|
icon = ExtResource( 5 )
|
||
|
flat = true
|
||
|
[connection signal="pressed" from="menu/VBoxContainer/resume" to="." method="_on_resume_pressed"]
|
||
|
[connection signal="pressed" from="menu/VBoxContainer/settings" to="." method="_on_settings_pressed"]
|
||
|
[connection signal="pressed" from="menu/VBoxContainer/end" to="." method="_on_end_pressed"]
|