-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplayer_sprite.tscn
61 lines (46 loc) · 1.49 KB
/
player_sprite.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
[gd_scene load_steps=5 format=1]
[ext_resource path="res://images/player.png" type="Texture" id=1]
[sub_resource type="Animation" id=1]
resource/name = "flying"
length = 0.4
loop = true
step = 0.1
tracks/0/type = "value"
tracks/0/path = NodePath(".:frame")
tracks/0/interp = 1
tracks/0/keys = { "cont":false, "times":FloatArray( 0, 0.2, 0.4 ), "transitions":FloatArray( 1, 1, 1 ), "values":[ 7, 8, 7 ] }
[sub_resource type="Animation" id=2]
length = 1.0
loop = false
step = 0.1
tracks/0/type = "value"
tracks/0/path = NodePath(".:frame")
tracks/0/interp = 1
tracks/0/keys = { "cont":false, "times":FloatArray( 0 ), "transitions":FloatArray( 1 ), "values":[ 6 ] }
[sub_resource type="Animation" id=3]
length = 0.5
loop = true
step = 0.1
tracks/0/type = "value"
tracks/0/path = NodePath(".:frame")
tracks/0/interp = 0
tracks/0/keys = { "cont":false, "times":FloatArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5 ), "transitions":FloatArray( 1, 1, 1, 1, 1, 1 ), "values":[ 0, 1, 2, 3, 4, 5 ] }
[node name="Sprite" type="Sprite"]
texture = ExtResource( 1 )
vframes = 2
hframes = 6
frame = 7
__meta__ = { "_editor_collapsed":true }
[node name="anim" type="AnimationPlayer" parent="."]
playback/process_mode = 1
playback/default_blend_time = 0.0
root/root = NodePath("..")
anims/flying = SubResource( 1 )
anims/idle = SubResource( 2 )
anims/walk = SubResource( 3 )
playback/active = true
playback/speed = 1.0
blend_times = [ ]
autoplay = ""
[node name="laser_pos" type="Position2D" parent="."]
transform/pos = Vector2( 15, -2 )