giants-godot/ui/menus/ingame_menu.tscn

66 lines
1.8 KiB
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://ui/ui_theme.tres" type="Theme" id=1]
[ext_resource path="res://assets/all_gbs/textures/chatbox.tga" type="Texture" id=2]
[ext_resource path="res://ui/menus/ingame_menu.gd" type="Script" id=3]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 1 )
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureRect" type="TextureRect" parent="."]
anchor_right = 1.003
anchor_bottom = 1.0
margin_right = -0.0720215
margin_bottom = -3.0
texture = ExtResource( 2 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="IngameMenu" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 333.0
margin_top = 71.0
margin_right = -352.0
margin_bottom = -90.0
custom_constants/separation = 40
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Resume" type="Button" parent="IngameMenu"]
margin_right = 339.0
margin_bottom = 35.0
text = "Resume"
[node name="Options" type="Button" parent="IngameMenu"]
margin_top = 75.0
margin_right = 339.0
margin_bottom = 110.0
text = "Options"
[node name="MainMenu" type="Button" parent="IngameMenu"]
margin_top = 150.0
margin_right = 339.0
margin_bottom = 185.0
text = "Quit to main menu"
[node name="ExitGame" type="Button" parent="IngameMenu"]
margin_top = 225.0
margin_right = 339.0
margin_bottom = 260.0
text = "Exit game"
[connection signal="pressed" from="IngameMenu/Resume" to="." method="_on_Resume_pressed"]
[connection signal="pressed" from="IngameMenu/Options" to="." method="_on_Options_pressed"]
[connection signal="pressed" from="IngameMenu/MainMenu" to="." method="_on_MainMenu_pressed"]
[connection signal="pressed" from="IngameMenu/ExitGame" to="." method="_on_ExitGame_pressed"]