-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathend_screen.tscn
75 lines (66 loc) · 2.31 KB
/
end_screen.tscn
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[gd_scene load_steps=6 format=3 uid="uid://cuuvlub6cavxy"]
[ext_resource type="FontFile" uid="uid://btdkvp2d8fvms" path="res://assets/fonts/PressStart2P-Regular.ttf" id="1_0mvdq"]
[ext_resource type="Script" path="res://src/EndScreen.gd" id="1_hudc1"]
[ext_resource type="Texture2D" uid="uid://s0godxg8vlyd" path="res://assets/fullscreen_icon.png.png" id="3_7j155"]
[ext_resource type="Texture2D" uid="uid://vpf81ei22dv4" path="res://assets/fullscreen_icon_hover.png.png" id="4_qcotx"]
[sub_resource type="LabelSettings" id="LabelSettings_f036w"]
font = ExtResource("1_0mvdq")
font_size = 40
[node name="EndScreen" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_hudc1")
[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.2, 0.203922, 0.329412, 1)
[node name="MarginContainer" type="MarginContainer" parent="ColorRect"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 10
theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 10
[node name="VBoxContainer" type="VBoxContainer" parent="ColorRect/MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 100
alignment = 1
[node name="WinnerLabel" type="Label" parent="ColorRect/MarginContainer/VBoxContainer"]
layout_mode = 2
text = "___ PLAYER WINS!!!"
label_settings = SubResource("LabelSettings_f036w")
horizontal_alignment = 1
[node name="again" type="Button" parent="ColorRect/MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(400, 60)
layout_mode = 2
size_flags_horizontal = 4
theme_override_fonts/font = ExtResource("1_0mvdq")
theme_override_font_sizes/font_size = 30
text = "PLAY AGAIN?"
[node name="fullscreen" type="TextureButton" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -32.0
offset_top = -32.0
grow_horizontal = 0
grow_vertical = 0
texture_normal = ExtResource("3_7j155")
texture_pressed = ExtResource("4_qcotx")
texture_hover = ExtResource("4_qcotx")
stretch_mode = 0