GiantsEditReloaded/UI.tscn
2020-04-15 13:45:56 +02:00

64 lines
1.5 KiB
Plaintext

[gd_scene load_steps=2 format=2]
[ext_resource path="res://UI.gd" type="Script" id=1]
[node name="Panel" type="Panel"]
anchor_left = 0.000976562
anchor_top = 0.001
anchor_right = 0.000976562
anchor_bottom = 0.001
margin_left = -2.0
margin_top = -1.0
margin_right = 1023.0
margin_bottom = 600.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Title" type="Label" parent="."]
margin_left = 329.0
margin_top = 37.0
margin_right = 539.0
margin_bottom = 51.0
text = "Welcome to GiantsEditReloaded!"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="New" type="Button" parent="."]
margin_left = 153.0
margin_top = 150.0
margin_right = 268.0
margin_bottom = 179.0
rect_pivot_offset = Vector2( 82, 14.5 )
text = "Create new map"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Open" type="Button" parent="."]
margin_left = 366.0
margin_top = 149.0
margin_right = 481.0
margin_bottom = 178.0
rect_pivot_offset = Vector2( 82, 14.5 )
text = "Open map"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Quit" type="Button" parent="."]
margin_left = 614.0
margin_top = 149.0
margin_right = 729.0
margin_bottom = 178.0
rect_pivot_offset = Vector2( 82, 14.5 )
text = "Quit"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="New" to="." method="_on_Button_pressed"]
[connection signal="pressed" from="Open" to="." method="_on_Button_pressed"]
[connection signal="pressed" from="Quit" to="." method="_on_Button_pressed"]