[gd_scene load_steps=14 format=3 uid="uid://bki7jjuvugscj"]

[ext_resource type="Script" path="res://Scripts/enemy.gd" id="1_oyq4s"]
[ext_resource type="PackedScene" uid="uid://dq1pnq3g34tay" path="res://Scenes/Bullets/enemy_bullet.tscn" id="2_w428l"]
[ext_resource type="Texture2D" uid="uid://b2res51c25avx" path="res://Textures/Whale/Whale 1.png" id="3_rlx0w"]
[ext_resource type="Texture2D" uid="uid://s3ici4urgkpp" path="res://Textures/Whale/Whale 2.png" id="4_nq1if"]
[ext_resource type="Texture2D" uid="uid://xvmxbxost161" path="res://Textures/Whale/Whale 3.png" id="5_vayue"]
[ext_resource type="Texture2D" uid="uid://d13ht078u72ob" path="res://Textures/Whale/Whale 4.png" id="6_5ajax"]
[ext_resource type="Texture2D" uid="uid://dmdonnxkc6q5y" path="res://Textures/Whale/Whale 5.png" id="7_jutdb"]
[ext_resource type="Texture2D" uid="uid://mk3erlmynh73" path="res://Textures/Whale/Whale 6.png" id="8_xrq6q"]
[ext_resource type="Texture2D" uid="uid://dqlcy084umvmy" path="res://Textures/Whale/Whale 7.png" id="9_u1p5y"]
[ext_resource type="Texture2D" uid="uid://bkiv5st0na5lf" path="res://Textures/Whale/Whale 8.png" id="10_fdwi5"]
[ext_resource type="Texture2D" uid="uid://csmh12c3ird1w" path="res://Textures/Whale/Whale 9.png" id="11_7viix"]

[sub_resource type="SpriteFrames" id="SpriteFrames_t7ivn"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("3_rlx0w")
}, {
"duration": 1.0,
"texture": ExtResource("4_nq1if")
}, {
"duration": 1.0,
"texture": ExtResource("5_vayue")
}, {
"duration": 1.0,
"texture": ExtResource("6_5ajax")
}, {
"duration": 1.0,
"texture": ExtResource("7_jutdb")
}, {
"duration": 1.0,
"texture": ExtResource("8_xrq6q")
}, {
"duration": 1.0,
"texture": ExtResource("9_u1p5y")
}, {
"duration": 1.0,
"texture": ExtResource("10_fdwi5")
}, {
"duration": 1.0,
"texture": ExtResource("11_7viix")
}],
"loop": true,
"name": &"default",
"speed": 10.0
}]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_pdpqn"]
size = Vector2(201, 117)

[node name="ShootingEnemy" type="RigidBody2D" groups=["Enemy"]]
collision_layer = 3
collision_mask = 3
mass = 250.0
gravity_scale = 0.0
lock_rotation = true
contact_monitor = true
max_contacts_reported = 1
script = ExtResource("1_oyq4s")
Speed = 100
Health = 11
ScoreAmount = 500
IsShooting = true
Bullet = ExtResource("2_w428l")

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2(2, 0)
scale = Vector2(0.15, 0.15)
sprite_frames = SubResource("SpriteFrames_t7ivn")
autoplay = "default"
frame_progress = 0.422597

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(23.5, -0.5)
shape = SubResource("RectangleShape2D_pdpqn")

[node name="Arm" type="Node2D" parent="."]
position = Vector2(23, 0)

[node name="Marker2D" type="Marker2D" parent="Arm"]
position = Vector2(-130, 0)
