-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSpawnPath.tscn
More file actions
63 lines (55 loc) · 1.79 KB
/
SpawnPath.tscn
File metadata and controls
63 lines (55 loc) · 1.79 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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://PlayerSprites/protagonist-kun.png" type="Texture" id=1]
[ext_resource path="res://SpawnPath.gd" type="Script" id=2]
[sub_resource type="Curve2D" id=1]
resource_local_to_scene = true
_data = {
"points": PoolVector2Array( 0, 0, 0, 0, 0.117836, -0.0418549, -43.3095, -1.25172, 43.3095, 1.25172, 75.8376, -35.1733, 0, 0, 0, 0, 149.439, 0.375496 )
}
[sub_resource type="Animation" id=2]
resource_name = "Activate"
length = 0.6
tracks/0/type = "value"
tracks/0/path = NodePath("PathFollow2D:unit_offset")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.3, 0.6 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ 0.0, 0.5, 1.0 ]
}
tracks/1/type = "method"
tracks/1/path = NodePath(".")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0.3 ),
"transitions": PoolRealArray( 1 ),
"values": [ {
"args": [ ],
"method": "at_midpoint"
} ]
}
[node name="SpawnPath" type="Path2D"]
curve = SubResource( 1 )
script = ExtResource( 2 )
[node name="PathFollow2D" type="PathFollow2D" parent="."]
position = Vector2( 0.117836, -0.0418549 )
rotate = false
loop = false
[node name="RemoteTransform2D" type="RemoteTransform2D" parent="PathFollow2D"]
scale = Vector2( 0.927727, 0.958366 )
update_rotation = false
update_scale = false
[node name="Sprite" type="Sprite" parent="PathFollow2D"]
visible = false
position = Vector2( -0.117836, 0.0418549 )
texture = ExtResource( 1 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/Activate = SubResource( 2 )
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]