-
Notifications
You must be signed in to change notification settings - Fork 4
/
thing.tscn
38 lines (31 loc) · 1.11 KB
/
thing.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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://thing.gd" type="Script" id=1]
[ext_resource path="res://icon.png" type="Texture" id=2]
[sub_resource type="Animation" id=1]
resource_name = "anim"
length = 2.0
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.5, 1, 1.5 ),
"transitions": PoolRealArray( 1, 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 141, 72 ), Vector2( 304, 302 ), Vector2( 477.667, 339.333 ), Vector2( 810.333, 267.667 ) ]
}
[node name="Node2D" type="Node2D"]
script = ExtResource( 1 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "anim"
playback_process_mode = 0
anims/anim = SubResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 141, 72 )
texture = ExtResource( 2 )
[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2( 512, 304 )
current = true
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]