fish has extra animation frame
This commit is contained in:
parent
087bc27d84
commit
a822927518
2 changed files with 7 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=9 format=2]
|
||||
[gd_scene load_steps=10 format=2]
|
||||
|
||||
[ext_resource path="res://graphics/enemy/fish.png" type="Texture" id=1]
|
||||
[ext_resource path="res://objects/enemy/enemy_move_sidesideupdown.gd" type="Script" id=3]
|
||||
|
@ -11,9 +11,13 @@ region = Rect2( 0, 0, 11, 10 )
|
|||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 11, 0, 11, 10 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=10]
|
||||
atlas = ExtResource( 1 )
|
||||
region = Rect2( 22, 0, 11, 10 )
|
||||
|
||||
[sub_resource type="SpriteFrames" id=4]
|
||||
animations = [ {
|
||||
"frames": [ SubResource( 6 ), SubResource( 7 ) ],
|
||||
"frames": [ SubResource( 6 ), SubResource( 7 ), SubResource( 6 ), SubResource( 10 ) ],
|
||||
"loop": true,
|
||||
"name": "default",
|
||||
"speed": 7.0
|
||||
|
@ -64,7 +68,7 @@ node_to_flip = NodePath("AnimatedSprite")
|
|||
modulate = Color( 0.830741, 0.830741, 0.830741, 1 )
|
||||
position = Vector2( 0, 5.79026 )
|
||||
frames = SubResource( 4 )
|
||||
frame = 1
|
||||
frame = 2
|
||||
playing = true
|
||||
|
||||
[node name="Hitbox" type="Area2D" parent="." groups=["enemy_hitbox"]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue