[gd_scene format=3 uid="uid://c1g0ss0n0duaj"]

[ext_resource type="Script" uid="uid://jk7o0itmiwp6" path="res://scripts/loot.gd" id="1"]
[ext_resource type="Script" uid="uid://cpxabh3uq1kl4" path="res://scripts/create_shadow_sprite.gd" id="2"]
[ext_resource type="AudioStream" uid="uid://b60bke4f5uw4v" path="res://assets/audio/sfx/pickups/coin_pickup.mp3" id="3_30m34"]
[ext_resource type="Texture2D" uid="uid://cimek2qjgoqa1" path="res://assets/gfx/pickups/gold_coin.png" id="3_531sv"]
[ext_resource type="AudioStream" uid="uid://brl8ivwb1l5i7" path="res://assets/audio/sfx/pickups/coin_drop_01.wav.mp3" id="4_rtp8m"]
[ext_resource type="AudioStream" uid="uid://umoxmryvbm01" path="res://assets/audio/sfx/cloth/leather_cloth_01.wav.mp3" id="5_vl55g"]
[ext_resource type="AudioStream" uid="uid://d1qqsganlqnwh" path="res://assets/audio/sfx/pickups/key.mp3" id="6_gyjv8"]
[ext_resource type="AudioStream" uid="uid://b5xbv7s85sy5o" path="res://assets/audio/sfx/pickups/potion.mp3" id="7_eeo7l"]
[ext_resource type="AudioStream" uid="uid://cnb376ah43nqi" path="res://assets/audio/sfx/pickups/bite-food-01.mp3" id="8_0tqa7"]
[ext_resource type="AudioStream" uid="uid://bbnby1sso3f4v" path="res://assets/audio/sfx/pickups/bite-food-02.mp3" id="9_531sv"]

[sub_resource type="Gradient" id="Gradient_1"]
colors = PackedColorArray(0, 0, 0, 1, 0, 0, 0, 0)

[sub_resource type="GradientTexture2D" id="GradientTexture2D_1"]
gradient = SubResource("Gradient_1")
width = 14
height = 8
fill = 1
fill_from = Vector2(0.51304346, 0.46086955)
fill_to = Vector2(0, 0)

[sub_resource type="CircleShape2D" id="CircleShape2D_2"]
radius = 3.0

[sub_resource type="CircleShape2D" id="CircleShape2D_1"]
radius = 8.0

[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_37k03"]
playback_mode = 1
random_pitch = 1.0059091
streams_count = 2
stream_0/stream = ExtResource("8_0tqa7")
stream_1/stream = ExtResource("9_531sv")

[node name="Loot" type="CharacterBody2D" unique_id=1373758515]
collision_layer = 0
collision_mask = 64
motion_mode = 1
script = ExtResource("1")

[node name="Shadow" type="Sprite2D" parent="." unique_id=254158592]
z_index = -1
position = Vector2(0, 7)
texture = SubResource("GradientTexture2D_1")
script = ExtResource("2")

[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1501367665]
y_sort_enabled = true
texture = ExtResource("3_531sv")
hframes = 6

[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=265450649]
shape = SubResource("CircleShape2D_2")

[node name="PickupArea" type="Area2D" parent="." unique_id=154474645]
collision_layer = 0

[node name="CollisionShape2D" type="CollisionShape2D" parent="PickupArea" unique_id=265450650]
shape = SubResource("CircleShape2D_1")
debug_color = Color(0.70196074, 0.6179641, 0.06898428, 0.41960785)

[node name="SfxCoinBounce" type="AudioStreamPlayer2D" parent="." unique_id=1867176790]
stream = ExtResource("3_30m34")
max_distance = 803.0
attenuation = 7.727487
max_polyphony = 6

[node name="SfxCoinCollect" type="AudioStreamPlayer2D" parent="." unique_id=1619201311]
stream = ExtResource("4_rtp8m")
max_distance = 919.0
attenuation = 7.209997
panning_strength = 1.2

[node name="SfxLootCollect" type="AudioStreamPlayer2D" parent="." unique_id=1035409974]
stream = ExtResource("5_vl55g")
max_distance = 951.0
attenuation = 7.2099924
panning_strength = 1.23

[node name="SfxKeyCollect" type="AudioStreamPlayer2D" parent="." unique_id=1502893545]
stream = ExtResource("6_gyjv8")

[node name="SfxPotionCollect" type="AudioStreamPlayer2D" parent="." unique_id=1615824668]
stream = ExtResource("7_eeo7l")

[node name="SfxBananaCollect" type="AudioStreamPlayer2D" parent="." unique_id=1763488179]
stream = SubResource("AudioStreamRandomizer_37k03")
