This repository was archived by the owner on Sep 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathscene1.tscn
More file actions
115 lines (102 loc) · 2.74 KB
/
scene1.tscn
File metadata and controls
115 lines (102 loc) · 2.74 KB
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
[gd_scene load_steps=10 format=2]
[ext_resource path="res://scene1.py" type="Script" id=1]
[ext_resource path="res://Control.gd" type="Script" id=2]
[ext_resource path="res://Counter.gd" type="Script" id=3]
[ext_resource path="res://Roboto-Regular.ttf" type="DynamicFontData" id=4]
[sub_resource type="DynamicFont" id=1]
size = 20
use_filter = true
font_data = ExtResource( 4 )
[sub_resource type="Animation" id=2]
resource_name = "blue"
length = 0.001
tracks/0/type = "value"
tracks/0/path = NodePath(".:self_modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Color( 0, 0.321569, 1, 1 ) ]
}
[sub_resource type="Animation" id=3]
resource_name = "gray"
length = 0.001
tracks/0/type = "value"
tracks/0/path = NodePath(".:self_modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Color( 0.513726, 0.513726, 0.513726, 1 ) ]
}
[sub_resource type="Animation" id=4]
resource_name = "green"
length = 0.001
tracks/0/type = "value"
tracks/0/path = NodePath(".:self_modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Color( 0, 1, 0, 1 ) ]
}
[sub_resource type="StyleBoxFlat" id=5]
draw_center = false
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color( 1, 1, 1, 1 )
[node name="Timer" type="Node2D"]
script = ExtResource( 1 )
[node name="Counter" type="Label" parent="."]
self_modulate = Color( 0.513726, 0.513726, 0.513726, 1 )
margin_right = 200.0
margin_bottom = 75.0
custom_fonts/font = SubResource( 1 )
text = "00"
align = 1
valign = 1
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="stop_play" type="Label" parent="Counter"]
margin_top = -20.9439
margin_right = 40.0
margin_bottom = -0.943878
text = "0"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AnimationPlayer" type="AnimationPlayer" parent="Counter"]
anims/blue = SubResource( 2 )
anims/gray = SubResource( 3 )
anims/green = SubResource( 4 )
[node name="border" type="Panel" parent="."]
margin_right = 200.0
margin_bottom = 75.0
custom_styles/panel = SubResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Move" type="Control" parent="."]
margin_right = 200.0
margin_bottom = 75.0
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="gui_input" from="Move" to="Move" method="_on_Move_gui_input"]