-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWinScreen.tscn
68 lines (60 loc) · 1.86 KB
/
WinScreen.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
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Sprites/medal.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/WinScreen.gd" type="Script" id=4]
[sub_resource type="DynamicFont" id=1]
size = 32
font_data = ExtResource( 3 )
[sub_resource type="Animation" id=2]
resource_name = "LossScreenAnim"
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.2, 0.4 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 0 ), Color( 0, 0, 0, 1 ) ]
}
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.2, 0.9 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 1e-05, 1e-05 ), Vector2( 1, 1 ) ]
}
[node name="WinScreen" type="CanvasLayer"]
script = ExtResource( 4 )
[node name="Image" type="Sprite" parent="."]
position = Vector2( 503.035, 332.978 )
texture = ExtResource( 1 )
[node name="Label" type="Label" parent="Image"]
margin_left = -55.0
margin_top = 52.0
margin_right = 63.0
margin_bottom = 141.0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0.678431, 0.619608, 0.290196, 1 )
text = "Red Wins"
align = 1
valign = 1
autowrap = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Vignette" type="Sprite" parent="."]
modulate = Color( 0, 0, 0, 1 )
position = Vector2( 512.942, 331.414 )
texture = ExtResource( 2 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "LossScreenAnim"
anims/LossScreenAnim = SubResource( 2 )