paintjam2020/Scene/EndGameWindow.tscn
2020-04-05 12:53:08 +02:00

108 lines
2.7 KiB
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://Scripts/EndGameWindow.gd" type="Script" id=1]
[ext_resource path="res://Font/COMIC.tres" type="DynamicFont" id=2]
[ext_resource path="res://Sounds/PaintJamEndGameTheme.wav" type="AudioStream" id=3]
[node name="CanvasLayer" type="CanvasLayer"]
layer = 100
[node name="Window" type="Control" parent="."]
pause_mode = 2
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Background" type="ColorRect" parent="Window"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 1.22778
margin_top = -1.22775
margin_right = 1.22778
margin_bottom = -1.22778
color = Color( 0, 0, 0, 0.309804 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect" type="ColorRect" parent="Window"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -267.0
margin_top = -254.0
margin_right = 256.0
margin_bottom = 82.0
color = Color( 0, 0, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Title" type="Label" parent="Window/ColorRect"]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -60.5
margin_top = 28.0
margin_right = 83.5
margin_bottom = 80.0
custom_fonts/font = ExtResource( 2 )
text = "Winner:"
align = 1
valign = 1
autowrap = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="WinnerName" type="Label" parent="Window/ColorRect"]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -53.5
margin_top = 130.0
margin_right = 70.5
margin_bottom = 182.0
custom_fonts/font = ExtResource( 2 )
text = "AZER"
align = 1
valign = 1
autowrap = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="HBoxContainer" parent="Window/ColorRect"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -81.0
margin_bottom = -6.0
custom_constants/separation = 25
[node name="RestartButton" type="Button" parent="Window/ColorRect/VBoxContainer"]
margin_right = 249.0
margin_bottom = 75.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_fonts/font = ExtResource( 2 )
text = "Restart"
[node name="QuitButton" type="Button" parent="Window/ColorRect/VBoxContainer"]
margin_left = 274.0
margin_right = 523.0
margin_bottom = 75.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_fonts/font = ExtResource( 2 )
text = "Quit"
[node name="EndGameTheme" type="AudioStreamPlayer2D" parent="."]
pause_mode = 2
stream = ExtResource( 3 )
[connection signal="pressed" from="Window/ColorRect/VBoxContainer/RestartButton" to="Window" method="_on_RestartButton_pressed"]
[connection signal="pressed" from="Window/ColorRect/VBoxContainer/QuitButton" to="Window" method="_on_QuitButton_pressed"]