-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanimation-test.tscn
62 lines (54 loc) · 1.6 KB
/
animation-test.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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://assets/loom_wheel.svg" type="Texture" id=1]
[ext_resource path="res://assets/loom_base.svg" type="Texture" id=2]
[sub_resource type="Animation" id=1]
length = 0.001
tracks/0/type = "value"
tracks/0/path = NodePath("AnimationPlayer/loom_wheel: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 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ 0.0 ]
}
[sub_resource type="Animation" id=2]
resource_name = "loom"
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("AnimationPlayer/loom_wheel: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, 120.0 ]
}
[node name="animation-test" type="Node2D"]
position = Vector2( 345.703, 294.953 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "loom"
method_call_mode = 1
anims/RESET = SubResource( 1 )
anims/loom = SubResource( 2 )
[node name="loom_base" type="Sprite" parent="AnimationPlayer"]
position = Vector2( 345.703, 294.953 )
texture = ExtResource( 2 )
[node name="loom_wheel" type="Sprite" parent="AnimationPlayer"]
position = Vector2( 345.703, 226.703 )
texture = ExtResource( 1 )
[node name="Label" type="Label" parent="AnimationPlayer"]
margin_left = 63.0
margin_top = 56.0
margin_right = 103.0
margin_bottom = 70.0
text = "Hello world"
__meta__ = {
"_edit_use_anchors_": false
}