-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLossScreen.tscn
100 lines (90 loc) · 2.77 KB
/
LossScreen.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[gd_scene load_steps=9 format=2]
[ext_resource path="res://Sprites/surrender_flag.png" type="Texture" id=1]
[ext_resource path="res://Sprites/vignette.png" type="Texture" id=2]
[ext_resource path="res://Roboto-Bold.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://Scripts/LossScreen.gd" type="Script" id=4]
[ext_resource path="res://OperaLyricsSmooth-OOJo.ttf" type="DynamicFontData" id=5]
[sub_resource type="DynamicFont" id=1]
size = 22
font_data = ExtResource( 3 )
[sub_resource type="Animation" id=2]
resource_name = "LossScreenAnim"
length = 5.0
tracks/0/type = "value"
tracks/0/path = NodePath("Vignette:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.4, 4, 5 ),
"transitions": PoolRealArray( 1, 1, 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 0 ), Color( 0, 0, 0, 1 ), Color( 0, 0, 0, 1 ), Color( 1, 1, 1, 0 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Image:scale")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0.3, 0.7, 4, 5 ),
"transitions": PoolRealArray( 1, 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 1e-05, 1e-05 ), Vector2( 1, 1 ), Vector2( 1, 1 ), Vector2( 1e-05, 1e-05 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Label:visible")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0, 5 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 1,
"values": [ false, true ]
}
[sub_resource type="DynamicFont" id=3]
size = 24
font_data = ExtResource( 5 )
[node name="LossScreen" type="CanvasLayer"]
script = ExtResource( 4 )
[node name="Image" type="Sprite" parent="."]
position = Vector2( 503.035, 332.978 )
scale = Vector2( 1e-05, 1e-05 )
texture = ExtResource( 1 )
[node name="Label" type="Label" parent="Image"]
margin_left = -140.03
margin_top = 122.754
margin_right = 140.97
margin_bottom = 149.754
custom_fonts/font = SubResource( 1 )
text = "Your Capital was Conquered!"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Vignette" type="Sprite" parent="."]
modulate = Color( 1, 1, 1, 0 )
position = Vector2( 512.942, 330.784 )
texture = ExtResource( 2 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "LossScreenAnim"
anims/LossScreenAnim = SubResource( 2 )
[node name="Label" type="Label" parent="."]
visible = false
anchor_left = 0.06
anchor_top = 0.114
anchor_right = 0.06
anchor_bottom = 0.114
margin_left = 14.56
margin_top = 18.76
margin_right = 127.56
margin_bottom = 32.76
custom_fonts/font = SubResource( 3 )
custom_colors/font_color = Color( 0.901961, 0.258824, 0.258824, 1 )
text = "SPECTATING"
__meta__ = {
"_edit_use_anchors_": false
}