-
Notifications
You must be signed in to change notification settings - Fork 0
/
death.tscn
148 lines (138 loc) · 4.13 KB
/
death.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
[gd_scene load_steps=7 format=3 uid="uid://ddj1hyyopimqs"]
[ext_resource type="Script" path="res://death.gd" id="1_5hfj0"]
[ext_resource type="FontFile" uid="uid://c4p41p37lal62" path="res://assets/RobotoCondensed-Regular.ttf" id="2_vledf"]
[sub_resource type="Animation" id="Animation_4afb4"]
length = 0.001
[sub_resource type="Animation" id="Animation_gp3oy"]
resource_name = "fade_overlay"
length = 2.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("overlay:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.1, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("you_died:theme_override_colors/font_color")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.1, 1, 2),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Color(1, 1, 0.956863, 0), Color(0, 0, 0, 0), Color(1, 1, 0.956863, 1)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("press_e_to_continue:visible")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 2.1, 2.4),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 1,
"values": [false, false, true]
}
[sub_resource type="Animation" id="Animation_c8pxv"]
resource_name = "pulse_text"
length = 2.5
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("overlay:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.1),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(0, 0, 0, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("you_died:theme_override_colors/font_color")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.1),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 0.956863, 1)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("press_e_to_continue:visible")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("press_e_to_continue:theme_override_colors/font_color")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0.1, 1, 2.5),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Color(0.4, 0.4, 0.380392, 1), Color(0.639216, 0.639216, 0.607843, 1), Color(0.4, 0.4, 0.380392, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_f24gs"]
_data = {
"RESET": SubResource("Animation_4afb4"),
"fade_overlay": SubResource("Animation_gp3oy"),
"pulse_text": SubResource("Animation_c8pxv")
}
[node name="death" type="Control"]
process_mode = 3
layout_mode = 3
anchors_preset = 0
offset_left = -3.0
offset_right = 37.0
offset_bottom = 40.0
script = ExtResource("1_5hfj0")
[node name="animation" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_f24gs")
}
[node name="overlay" type="ColorRect" parent="."]
modulate = Color(0, 0, 0, 1)
offset_right = 2013.0
offset_bottom = 1205.0
[node name="you_died" type="Label" parent="."]
offset_left = 2.0
offset_top = 234.0
offset_right = 2010.0
offset_bottom = 517.0
theme_override_colors/font_color = Color(1, 1, 0.956863, 1)
theme_override_fonts/font = ExtResource("2_vledf")
theme_override_font_sizes/font_size = 200
text = "You Died"
horizontal_alignment = 1
[node name="press_e_to_continue" type="Label" parent="."]
offset_left = 12.0
offset_top = 666.0
offset_right = 2008.0
offset_bottom = 744.0
theme_override_colors/font_color = Color(0.4, 0.4, 0.380392, 1)
theme_override_fonts/font = ExtResource("2_vledf")
theme_override_font_sizes/font_size = 50
text = "Press E to continue"
horizontal_alignment = 1