-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathClock.tscn
77 lines (68 loc) · 2.09 KB
/
Clock.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
[gd_scene load_steps=7 format=2]
[ext_resource path="res://assets/fonts/Xolonium-Regular.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://Clock.gd" type="Script" id=2]
[ext_resource path="res://assets/clock-solid.svg" type="Texture" id=3]
[sub_resource type="DynamicFont" id=2]
size = 64
font_data = ExtResource( 1 )
[sub_resource type="Animation" id=3]
resource_name = "Rotate"
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:rotation_degrees")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0.0, 360.0 ]
}
[sub_resource type="Animation" id=4]
resource_name = "Rotate_Flash"
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:rotation_degrees")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0.0, 360.0 ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Sprite: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.5, 1 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 0.878431, 0.0862745, 0.0862745, 1 ), Color( 1, 1, 1, 1 ) ]
}
[node name="Clock" type="Node2D"]
position = Vector2( -3.05176e-05, 1.52588e-05 )
script = ExtResource( 2 )
[node name="CountDown" type="Label" parent="."]
margin_left = 81.7912
margin_top = -40.0811
margin_right = 126.791
margin_bottom = 37.9189
custom_fonts/font = SubResource( 2 )
text = "5"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Timer" type="Timer" parent="."]
[node name="Sprite" type="Sprite" parent="."]
scale = Vector2( 0.249972, 0.255525 )
texture = ExtResource( 3 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/Rotate = SubResource( 3 )
anims/Rotate_Flash = SubResource( 4 )
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]