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

[ext_resource type="Texture2D" uid="uid://tidb7wgqraj2" path="res://Assets/Sprites/Items/Wings.png" id="1_r7kgt"]
[ext_resource type="Script" uid="uid://caq1qiwmy0mox" path="res://Scripts/Parts/BetterAnimatedSprite.gd" id="2_io3xw"]
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="3_r7kgt"]
[ext_resource type="JSON" path="res://Assets/Sprites/Items/Wings.json" id="4_r7kgt"]

[sub_resource type="AtlasTexture" id="AtlasTexture_vpjxo"]
atlas = ExtResource("1_r7kgt")
region = Rect2(0, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_f1h07"]
atlas = ExtResource("1_r7kgt")
region = Rect2(16, 0, 16, 16)

[sub_resource type="SpriteFrames" id="SpriteFrames_hpedc"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_vpjxo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_f1h07")
}],
"loop": true,
"name": &"Flap",
"speed": 5.0
}]

[node name="Wing" type="AnimatedSprite2D"]
sprite_frames = SubResource("SpriteFrames_hpedc")
animation = &"Flap"
autoplay = "default"
frame_progress = 0.594451
script = ExtResource("2_io3xw")
do_offset = false
metadata/_custom_type_script = "uid://caq1qiwmy0mox"

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