[gd_scene load_steps=12 format=3 uid="uid://chsjfsydj2ey6"]

[ext_resource type="Script" path="res://assets/scenes/bot.gd" id="1_juoa1"]
[ext_resource type="Texture2D" uid="uid://bx8xh4t3htyif" path="res://assets/textures/bots/blue_bot_walk_1.png" id="2_ugcr0"]
[ext_resource type="Texture2D" uid="uid://44vpg8axkmus" path="res://assets/textures/bots/blue_bot_walk_2.png" id="3_0goqq"]
[ext_resource type="Texture2D" uid="uid://o4c7b4w1w6so" path="res://assets/textures/bots/green_bot_walk_1.png" id="4_ued0l"]
[ext_resource type="Texture2D" uid="uid://uuuev2sndny" path="res://assets/textures/bots/green_bot_walk_2.png" id="5_2brrq"]
[ext_resource type="Texture2D" uid="uid://dbnw0v18whfev" path="res://assets/textures/bots/red_bot_walk_1.png" id="6_poaq6"]
[ext_resource type="Texture2D" uid="uid://8qwxkjbbrkio" path="res://assets/textures/bots/red_bot_walk_2.png" id="7_h1w41"]
[ext_resource type="Texture2D" uid="uid://djk2d44g5miuy" path="res://assets/textures/bots/yellow_bot_walk_1.png" id="8_po3sx"]
[ext_resource type="Texture2D" uid="uid://duk2sr4iwwgr6" path="res://assets/textures/bots/yellow_bot_walk_2.png" id="9_7qxux"]

[sub_resource type="SpriteFrames" id="SpriteFrames_b0o1s"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_ugcr0")
}, {
"duration": 1.0,
"texture": ExtResource("3_0goqq")
}],
"loop": true,
"name": &"blue",
"speed": 2.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_ued0l")
}, {
"duration": 1.0,
"texture": ExtResource("5_2brrq")
}],
"loop": true,
"name": &"green",
"speed": 2.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("6_poaq6")
}, {
"duration": 1.0,
"texture": ExtResource("7_h1w41")
}],
"loop": true,
"name": &"red",
"speed": 2.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("8_po3sx")
}, {
"duration": 1.0,
"texture": ExtResource("9_7qxux")
}],
"loop": true,
"name": &"yellow",
"speed": 2.0
}]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_7wci8"]
size = Vector2(46, 38)

[node name="Bot" type="Area2D" groups=["foe"]]
collision_layer = 4
collision_mask = 19
script = ExtResource("1_juoa1")

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
rotation = 1.5708
scale = Vector2(0.18, 0.18)
sprite_frames = SubResource("SpriteFrames_b0o1s")
animation = &"red"

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(7, 0)
shape = SubResource("RectangleShape2D_7wci8")

[connection signal="area_entered" from="." to="." method="_on_area_entered"]
