This repository has been archived on 2023-02-28. You can view files and clone it, but cannot push or open issues or pull requests.
Boups/Scenes/gameover.tscn
2023-02-26 17:54:18 +01:00

56 lines
2 KiB
Text
Executable file

[gd_scene load_steps=9 format=2]
[ext_resource path="res://Scenes/Scripts/GameOver.gd" type="Script" id=1]
[ext_resource path="res://Assets/defeat/defeat + background.png" type="Texture" id=2]
[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]
[ext_resource path="res://Musics/wav/defeat.wav" type="AudioStream" id=6]
[ext_resource path="res://Assets/skin_assets/menu_font.tres" type="DynamicFont" id=7]
[ext_resource path="res://Musics/sound effect/hower.wav" type="AudioStream" id=8]
[node name="Node2D" type="Node2D"]
script = ExtResource( 1 )
[node name="Windows" type="Sprite" parent="."]
position = Vector2( 512, 360 )
scale = Vector2( 0.5, 0.5 )
z_index = -2
texture = ExtResource( 2 )
[node name="LabelGameOver" type="Label" parent="."]
margin_left = 422.0
margin_top = 147.0
margin_right = 604.0
margin_bottom = 177.0
rect_rotation = -14.1
custom_colors/font_color = Color( 0, 0, 0, 1 )
custom_fonts/font = ExtResource( 7 )
text = "GAME OVER"
[node name="RestartButton" type="Button" parent="."]
margin_left = 312.0
margin_top = 632.0
margin_right = 724.0
margin_bottom = 693.0
focus_mode = 0
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_hover = Color( 0.941176, 0.690196, 0.403922, 1 )
custom_fonts/font = ExtResource( 7 )
custom_styles/hover = ExtResource( 5 )
custom_styles/pressed = ExtResource( 4 )
custom_styles/normal = ExtResource( 3 )
text = "Back to main menu"
__meta__ = {
"_edit_use_anchors_": true
}
[node name="DefeatMusic" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 6 )
autoplay = true
[node name="Hover" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 8 )
[connection signal="mouse_entered" from="RestartButton" to="." method="_on_RestartButton_mouse_entered"]
[connection signal="pressed" from="RestartButton" to="." method="_on_RestartButton_pressed"]