75 lines
1.6 KiB
Text
75 lines
1.6 KiB
Text
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://GUI.gd" type="Script" id=1]
|
|
|
|
[node name="GUI" type="MarginContainer"]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -512.0
|
|
margin_top = -300.0
|
|
margin_right = 512.0
|
|
margin_bottom = 300.0
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="HB" type="HBoxContainer" parent="."]
|
|
margin_right = 1024.0
|
|
margin_bottom = 600.0
|
|
|
|
[node name="Ammo" type="RichTextLabel" parent="HB"]
|
|
margin_right = 510.0
|
|
margin_bottom = 600.0
|
|
size_flags_horizontal = 3
|
|
text = "AMMO: 0"
|
|
|
|
[node name="HP" type="RichTextLabel" parent="HB"]
|
|
margin_left = 514.0
|
|
margin_right = 1024.0
|
|
margin_bottom = 600.0
|
|
size_flags_horizontal = 3
|
|
text = "HP: 0"
|
|
|
|
[node name="PopupPanel" type="PopupPanel" parent="."]
|
|
pause_mode = 2
|
|
visible = true
|
|
margin_left = 471.0
|
|
margin_top = 277.0
|
|
margin_right = 552.0
|
|
margin_bottom = 323.0
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
popup_exclusive = true
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="PopupPanel"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 4.0
|
|
margin_top = 4.0
|
|
margin_right = -4.0
|
|
margin_bottom = -4.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Label" type="Label" parent="PopupPanel/VBoxContainer"]
|
|
margin_right = 73.0
|
|
margin_bottom = 14.0
|
|
size_flags_vertical = 1
|
|
text = "Game Over"
|
|
align = 1
|
|
valign = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Restart" type="Button" parent="PopupPanel/VBoxContainer"]
|
|
margin_top = 18.0
|
|
margin_right = 73.0
|
|
margin_bottom = 38.0
|
|
text = "Restart"
|
|
|
|
[connection signal="pressed" from="PopupPanel/VBoxContainer/Restart" to="." method="_on_Restart_pressed"]
|