-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpost_game.tscn
63 lines (54 loc) · 1.55 KB
/
post_game.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
[gd_scene load_steps=4 format=3 uid="uid://cqiob0oqg0jao"]
[ext_resource type="Script" path="res://spawn_on_timer.gd" id="1_57pb4"]
[ext_resource type="Script" path="res://post_game.gd" id="1_u7vlv"]
[sub_resource type="LabelSettings" id="LabelSettings_rc7lj"]
font_size = 24
[node name="PostGame" type="Node2D"]
script = ExtResource("1_u7vlv")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="ColorRect" type="ColorRect" parent="CanvasLayer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 1)
[node name="GameOver" type="Label" parent="CanvasLayer"]
anchors_preset = -1
anchor_left = 0.1
anchor_top = 0.25
anchor_right = 0.9
anchor_bottom = 0.9
grow_horizontal = 0
grow_vertical = 2
text = "Game Over"
label_settings = SubResource("LabelSettings_rc7lj")
horizontal_alignment = 1
script = ExtResource("1_57pb4")
delay = 1.0
[node name="Winner" type="Label" parent="CanvasLayer"]
anchors_preset = -1
anchor_left = 0.1
anchor_top = 0.25
anchor_right = 0.9
anchor_bottom = 0.9
offset_top = 30.0
grow_horizontal = 0
grow_vertical = 2
text = "<Winner>"
horizontal_alignment = 1
script = ExtResource("1_57pb4")
delay = 2.0
[node name="Continue" type="Button" parent="CanvasLayer"]
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.9
anchor_right = 0.5
anchor_bottom = 0.9
offset_top = -31.0
grow_horizontal = 2
grow_vertical = 0
text = "Continue"
script = ExtResource("1_57pb4")
delay = 3.0
[connection signal="pressed" from="CanvasLayer/Continue" to="." method="_on_continue_pressed"]