2023-02-25 19:01:04 +01:00
|
|
|
[gd_scene load_steps=7 format=2]
|
2023-02-25 18:46:29 +01:00
|
|
|
|
2023-02-25 19:31:26 +01:00
|
|
|
[ext_resource path="res://Scenes/Scripts/GameOver.gd" type="Script" id=1]
|
2023-02-25 18:46:29 +01:00
|
|
|
[ext_resource path="res://Assets/skin_assets/menu_font.tres" type="DynamicFont" id=2]
|
2023-02-25 19:01:04 +01:00
|
|
|
[ext_resource path="res://Assets/tres_button/normal.tres" type="StyleBox" id=3]
|
|
|
|
[ext_resource path="res://Assets/tres_button/pressed.tres" type="StyleBox" id=4]
|
|
|
|
[ext_resource path="res://Assets/tres_button/hover.tres" type="StyleBox" id=5]
|
2023-02-25 19:04:42 +01:00
|
|
|
[ext_resource path="res://Assets/windows.png" type="Texture" id=6]
|
2023-02-25 18:46:29 +01:00
|
|
|
|
|
|
|
[node name="Node2D" type="Node2D"]
|
2023-02-25 19:04:42 +01:00
|
|
|
script = ExtResource( 1 )
|
2023-02-25 18:46:29 +01:00
|
|
|
|
|
|
|
[node name="Windows" type="Sprite" parent="."]
|
|
|
|
position = Vector2( 512, 360 )
|
|
|
|
z_index = -2
|
2023-02-25 19:04:42 +01:00
|
|
|
texture = ExtResource( 6 )
|
2023-02-25 18:46:29 +01:00
|
|
|
|
2023-02-25 19:01:04 +01:00
|
|
|
[node name="LabelGameOver" type="Label" parent="."]
|
|
|
|
margin_left = 427.0
|
|
|
|
margin_top = 338.0
|
|
|
|
margin_right = 609.0
|
|
|
|
margin_bottom = 368.0
|
2023-02-25 18:46:29 +01:00
|
|
|
custom_colors/font_color = Color( 0, 0, 0, 1 )
|
|
|
|
custom_fonts/font = ExtResource( 2 )
|
2023-02-25 19:01:04 +01:00
|
|
|
text = "GAME OVER"
|
|
|
|
|
|
|
|
[node name="RestartButton" type="Button" parent="."]
|
2023-02-25 19:08:06 +01:00
|
|
|
margin_left = 340.0
|
|
|
|
margin_top = 378.0
|
|
|
|
margin_right = 700.0
|
|
|
|
margin_bottom = 415.0
|
2023-02-25 19:01:04 +01:00
|
|
|
custom_colors/font_color = Color( 0.34902, 0.313726, 0.313726, 1 )
|
|
|
|
custom_fonts/font = ExtResource( 2 )
|
|
|
|
custom_styles/hover = ExtResource( 5 )
|
|
|
|
custom_styles/pressed = ExtResource( 4 )
|
|
|
|
custom_styles/normal = ExtResource( 3 )
|
2023-02-25 19:08:06 +01:00
|
|
|
text = "Back to main menu"
|
2023-02-25 19:01:04 +01:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": true
|
|
|
|
}
|
|
|
|
|
|
|
|
[connection signal="pressed" from="RestartButton" to="." method="_on_RestartButton_pressed"]
|