diff --git a/graphics/enemy/fish.png b/graphics/enemy/fish.png index bec399c..283bd4b 100644 Binary files a/graphics/enemy/fish.png and b/graphics/enemy/fish.png differ diff --git a/objects/enemy/fish.tscn b/objects/enemy/fish.tscn index 4142c3e..5cbf07e 100644 --- a/objects/enemy/fish.tscn +++ b/objects/enemy/fish.tscn @@ -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"]]