[gd_scene load_steps=10 format=3 uid="uid://cfnyfjhp8v5gw"]

[ext_resource type="Texture2D" uid="uid://c1xpmsur8h7bt" path="res://enemyFlyingAlt_1.png" id="1_b3mxk"]
[ext_resource type="Texture2D" uid="uid://duyxe6bvilcac" path="res://enemyFlyingAlt_2.png" id="2_1qmh0"]
[ext_resource type="Texture2D" uid="uid://d1cq0yledu7sl" path="res://enemySwimming_1.png" id="3_gfurk"]
[ext_resource type="Texture2D" uid="uid://dr6tqvwcfdwpv" path="res://enemySwimming_2.png" id="4_ieysi"]
[ext_resource type="Texture2D" uid="uid://dxudw2rt0l078" path="res://enemyWalking_1.png" id="5_cixyi"]
[ext_resource type="Texture2D" uid="uid://c2usp1a4mowsj" path="res://enemyWalking_2.png" id="6_7ulmv"]
[ext_resource type="Script" uid="uid://bmqxvh0q486kb" path="res://Mob.cs" id="7_1qmh0"]

[sub_resource type="SpriteFrames" id="SpriteFrames_pcqmr"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("1_b3mxk")
}, {
"duration": 1.0,
"texture": ExtResource("2_1qmh0")
}],
"loop": true,
"name": &"fly",
"speed": 3.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("3_gfurk")
}, {
"duration": 1.0,
"texture": ExtResource("4_ieysi")
}],
"loop": true,
"name": &"swim",
"speed": 3.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("5_cixyi")
}, {
"duration": 1.0,
"texture": ExtResource("6_7ulmv")
}],
"loop": true,
"name": &"walk",
"speed": 3.0
}]

[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_jbnni"]
radius = 36.0
height = 90.0

[node name="Mob" type="RigidBody2D"]
collision_mask = 0
gravity_scale = 0.0
script = ExtResource("7_1qmh0")
metadata/_edit_group_ = true

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
scale = Vector2(0.75, 0.75)
sprite_frames = SubResource("SpriteFrames_pcqmr")
animation = &"fly"

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
rotation = 1.5708
shape = SubResource("CapsuleShape2D_jbnni")

[node name="VisibleOnScreenEnabler2D" type="VisibleOnScreenEnabler2D" parent="."]
enable_node_path = NodePath("../CollisionShape2D")
