Added enemy sprite

This commit is contained in:
Jasmine
2021-11-23 14:29:32 -06:00
parent a4ff83c688
commit af2e5a5de5
6 changed files with 342 additions and 17 deletions

View File

@@ -14,11 +14,6 @@ animations = [ {
}, {
"frames": [ ExtResource( 2 ) ],
"loop": false,
"name": "look_right",
"speed": 5.0
}, {
"frames": [ ExtResource( 2 ) ],
"loop": false,
"name": "look_left",
"speed": 5.0
}, {
@@ -26,6 +21,11 @@ animations = [ {
"loop": false,
"name": "look_down",
"speed": 5.0
}, {
"frames": [ ExtResource( 2 ) ],
"loop": false,
"name": "look_right",
"speed": 5.0
} ]
[sub_resource type="CapsuleShape2D" id=2]
@@ -146,26 +146,26 @@ tracks/1/keys = {
"values": [ false ]
}
[sub_resource type="AnimationNodeAnimation" id=8]
[sub_resource type="AnimationNodeAnimation" id=15]
animation = "Look Left"
[sub_resource type="AnimationNodeAnimation" id=9]
[sub_resource type="AnimationNodeAnimation" id=16]
animation = "Look Down"
[sub_resource type="AnimationNodeAnimation" id=10]
[sub_resource type="AnimationNodeAnimation" id=17]
animation = "Look Right"
[sub_resource type="AnimationNodeAnimation" id=11]
[sub_resource type="AnimationNodeAnimation" id=18]
animation = "Look Up"
[sub_resource type="AnimationNodeBlendSpace2D" id=12]
blend_point_0/node = SubResource( 8 )
blend_point_0/node = SubResource( 15 )
blend_point_0/pos = Vector2( -1.01, 0 )
blend_point_1/node = SubResource( 9 )
blend_point_1/node = SubResource( 16 )
blend_point_1/pos = Vector2( 0, 1.1 )
blend_point_2/node = SubResource( 10 )
blend_point_2/node = SubResource( 17 )
blend_point_2/pos = Vector2( 1, 0 )
blend_point_3/node = SubResource( 11 )
blend_point_3/node = SubResource( 18 )
blend_point_3/pos = Vector2( 0, -1.1 )
min_space = Vector2( -1.01, -1.1 )
max_space = Vector2( 1, 1.1 )