[gd_scene load_steps=8 format=3 uid="uid://d04e1qv3si8j"]

[ext_resource type="PackedScene" uid="uid://bdirphnfabey8" path="res://Scenes/Prefabs/Entities/Enemies/GreenCheepCheep.tscn" id="1_ie2kx"]
[ext_resource type="Texture2D" uid="uid://dbq7oso3fo4n6" path="res://Assets/Sprites/Enemies/CheepCheep.png" id="2_y5sv7"]
[ext_resource type="JSON" path="res://Assets/Sprites/Enemies/RedCheepCheep.json" id="3_871bq"]
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="4_plbrw"]

[sub_resource type="AtlasTexture" id="AtlasTexture_mrggu"]
atlas = ExtResource("2_y5sv7")
region = Rect2(0, 16, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_dduxq"]
atlas = ExtResource("2_y5sv7")
region = Rect2(16, 16, 16, 16)

[sub_resource type="SpriteFrames" id="SpriteFrames_a8obf"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_mrggu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_dduxq")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

[node name="CheepCheep" instance=ExtResource("1_ie2kx")]
move_speed = 45

[node name="Sprite" parent="." index="0"]
sprite_frames = SubResource("SpriteFrames_a8obf")

[node name="ResourceSetterNew" parent="Sprite" index="2"]
resource_json = ExtResource("3_871bq")

[node name="ResourceSetterNew2" type="Node" parent="Sprite" index="3" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("4_plbrw")
node_to_affect = NodePath("..")
property_name = "sprite_frames"
resource_json = ExtResource("3_871bq")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
