-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathShotScore.tscn
91 lines (81 loc) · 2.58 KB
/
ShotScore.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
[gd_scene load_steps=8 format=2]
[ext_resource path="res://fonts/Foldit/static/Foldit-Bold.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://GameTheme.tres" type="Theme" id=4]
[ext_resource path="res://ShotScore.gd" type="Script" id=5]
[sub_resource type="DynamicFont" id=8]
size = 40
outline_size = 1
outline_color = Color( 0, 0, 0, 0.576471 )
font_data = ExtResource( 3 )
[sub_resource type="Animation" id=5]
length = 0.001
[sub_resource type="Animation" id=7]
resource_name = "fade_down"
tracks/0/type = "value"
tracks/0/path = NodePath("LabelC:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.6, 1 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ), Vector2( 0, 200 ), Vector2( 0, 250 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("LabelC:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 0.8, 1 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0.396078 ), Color( 1, 1, 1, 0 ) ]
}
[sub_resource type="Animation" id=9]
resource_name = "fade_up"
tracks/0/type = "value"
tracks/0/path = NodePath("LabelC:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.6, 1 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ), Vector2( 0, -200 ), Vector2( 0, -250 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("LabelC:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 0.8, 1 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0.396078 ), Color( 1, 1, 1, 0 ) ]
}
[node name="ShotScore" type="Node2D"]
script = ExtResource( 5 )
[node name="LabelC" type="Node2D" parent="."]
self_modulate = Color( 1, 1, 1, 0 )
[node name="Label" type="Label" parent="LabelC"]
margin_left = -300.0
margin_right = 300.0
margin_bottom = 60.0
theme = ExtResource( 4 )
custom_colors/font_color_shadow = Color( 0, 0, 0, 0.47451 )
custom_fonts/font = SubResource( 8 )
text = "+100 "
align = 1
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/RESET = SubResource( 5 )
anims/fade_down = SubResource( 7 )
anims/fade_up = SubResource( 9 )
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_anim_finished"]