[gd_scene load_steps=2 format=2] [ext_resource path="res://Player/UI/HUD.gd" type="Script" id=1] [node name="HUD" type="Control"] margin_right = 40.0 margin_bottom = 40.0 script = ExtResource( 1 ) popup_nodepath = NodePath("../HUD/Popup") gameover_sound_path = NodePath("../GameOverSound") container_path = NodePath("GridContainer") [node name="Popup" type="Popup" parent="."] editor/display_folded = true visible = true margin_left = 383.0 margin_top = 187.0 margin_right = 530.0 margin_bottom = 289.0 [node name="PanelFail" type="Panel" parent="Popup"] modulate = Color( 0.996078, 0, 0, 1 ) margin_left = -383.0 margin_top = -187.36 margin_right = 641.0 margin_bottom = 412.64 [node name="PanelWon" type="Panel" parent="Popup"] modulate = Color( 0.0313726, 0, 0.996078, 1 ) margin_left = -383.0 margin_top = -187.36 margin_right = 641.0 margin_bottom = 412.64 [node name="LabelWon" type="Label" parent="Popup"] margin_left = 87.064 margin_top = 24.4867 margin_right = 169.064 margin_bottom = 72.4867 text = "Gratulations! You Won!" [node name="LabelFail" type="Label" parent="Popup"] margin_left = 88.9828 margin_top = 28.0094 margin_right = 168.983 margin_bottom = 76.0094 text = " You died! Game over" [node name="Button" type="Button" parent="Popup"] margin_left = 86.5054 margin_top = 144.902 margin_right = 179.505 margin_bottom = 181.902 text = "play again" [node name="ProgressBar" type="ProgressBar" parent="."] margin_left = 410.651 margin_top = 560.551 margin_right = 614.651 margin_bottom = 582.551 step = 1.0 value = 100.0 [node name="GridContainer" type="GridContainer" parent="."] margin_right = 250.0 margin_bottom = 150.0 [connection signal="pressed" from="Popup/Button" to="." method="_on_Button_pressed"]