-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwinner_screen.tscn
More file actions
58 lines (46 loc) · 2.36 KB
/
winner_screen.tscn
File metadata and controls
58 lines (46 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[gd_scene load_steps=5 format=3 uid="uid://sx35bycgnyq1"]
[ext_resource type="Script" uid="uid://kyjvg8lhlhxm" path="res://winner_screen.gd" id="1_js40s"]
[ext_resource type="FontFile" uid="uid://cp30judsjlj27" path="res://GUI/PixelOperator64.tres" id="2_no365"]
[ext_resource type="FontFile" uid="uid://dm4t5d2ei7mgx" path="res://GUI/PixelOperator32.tres" id="3_rk20q"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5cyx3"]
bg_color = Color(0, 0, 0, 1)
border_width_left = 10
border_width_top = 10
border_width_right = 10
border_width_bottom = 10
border_color = Color(0.05583002, 0.05583002, 0.05583002, 1)
shadow_size = 10
[node name="WinnerScreenP1" type="CanvasLayer"]
script = ExtResource("1_js40s")
[node name="PanelContainer" type="PanelContainer" parent="."]
offset_right = 40.0
offset_bottom = 40.0
theme_override_styles/panel = SubResource("StyleBoxFlat_5cyx3")
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
layout_mode = 2
theme_override_constants/margin_left = 40
theme_override_constants/margin_top = 40
theme_override_constants/margin_right = 40
theme_override_constants/margin_bottom = 40
[node name="Rows" type="VBoxContainer" parent="PanelContainer/MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 10
[node name="P1 Wins" type="Label" parent="PanelContainer/MarginContainer/Rows"]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_no365")
text = "P1 Wins"
[node name="CenterContainer" type="CenterContainer" parent="PanelContainer/MarginContainer/Rows"]
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer/Rows/CenterContainer"]
layout_mode = 2
alignment = 1
[node name="RestartButton" type="Button" parent="PanelContainer/MarginContainer/Rows/CenterContainer/VBoxContainer"]
layout_mode = 2
theme_override_fonts/font = ExtResource("3_rk20q")
text = "RESTART"
[node name="QuitButton" type="Button" parent="PanelContainer/MarginContainer/Rows/CenterContainer/VBoxContainer"]
layout_mode = 2
theme_override_fonts/font = ExtResource("3_rk20q")
text = "QUIT"
[connection signal="pressed" from="PanelContainer/MarginContainer/Rows/CenterContainer/VBoxContainer/RestartButton" to="." method="_on_restart_button_pressed"]
[connection signal="pressed" from="PanelContainer/MarginContainer/Rows/CenterContainer/VBoxContainer/QuitButton" to="." method="_on_quit_button_pressed"]