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

[ext_resource type="Script" uid="uid://ck72vhkja7nbo" path="res://scripts/player.gd" id="1"]
[ext_resource type="Script" uid="uid://cpxabh3uq1kl4" path="res://scripts/create_shadow_sprite.gd" id="3"]
[ext_resource type="Texture2D" uid="uid://bkninujaqqvb1" path="res://assets/gfx/Puny-Characters/Layer 0 - Skins/Human1_1.png" id="4"]
[ext_resource type="Texture2D" uid="uid://dx1fovugabbwc" path="res://assets/gfx/Puny-Characters/Layer 1 - Shoes/IronBoots.png" id="5"]
[ext_resource type="Texture2D" uid="uid://bbqk2lcs772q3" path="res://assets/gfx/Puny-Characters/Layer 2 - Clothes/Armour Body/BronzeArmour.png" id="6"]
[ext_resource type="Texture2D" uid="uid://bkiexfnpcaxwa" path="res://assets/gfx/Puny-Characters/Layer 4 - Hairstyle/Facial Hairstyles/Mustache1White.png" id="7"]
[ext_resource type="Texture2D" uid="uid://ccu5cpyo7jpdr" path="res://assets/gfx/Puny-Characters/Layer 4 - Hairstyle/Hairstyles/MHairstyle8White.png" id="8"]
[ext_resource type="Texture2D" uid="uid://0lmhxwt7k3e4" path="res://assets/gfx/Puny-Characters/Layer 5 - Eyes/Eye Color/EyecolorLightLime.png" id="9"]
[ext_resource type="Texture2D" uid="uid://b4vh2v0x58v2f" path="res://assets/gfx/Puny-Characters/Layer 5 - Eyes/Eyelashes/MEyelash1.png" id="10"]
[ext_resource type="Texture2D" uid="uid://jxo0e2x145rs" path="res://assets/gfx/Puny-Characters/Layer 7 - Add-ons/Elf Add-ons/ElfEars3.png" id="11"]
[ext_resource type="Texture2D" uid="uid://cu5fkio3ajr5i" path="res://assets/gfx/Puny-Characters/Layer 6 - Headgears/French/MusketeerHatPurple.png" id="12"]
[ext_resource type="Texture2D" uid="uid://bloqx3mibftjn" path="res://assets/gfx/Puny-Characters/WeaponOverlayer.png" id="13"]
[ext_resource type="AudioStream" uid="uid://cbio6f0ssxvd6" path="res://assets/audio/sfx/walk/stone/walk_stone_1.wav.mp3" id="13_fulsm"]
[ext_resource type="AudioStream" uid="uid://dq1va2882v23v" path="res://assets/audio/sfx/walk/stone/walk_stone_2.wav.mp3" id="14_4r5pv"]
[ext_resource type="AudioStream" uid="uid://dsuf4oa710gi8" path="res://assets/audio/sfx/walk/stone/walk_stone_3.wav.mp3" id="15_60mlk"]
[ext_resource type="AudioStream" uid="uid://fvhvmxtcq018" path="res://assets/audio/sfx/walk/stone/walk_stone_4.wav.mp3" id="16_i4ail"]
[ext_resource type="AudioStream" uid="uid://cw74evef8fm0t" path="res://assets/audio/sfx/walk/stone/walk_stone_5.wav.mp3" id="17_a38lo"]
[ext_resource type="AudioStream" uid="uid://c43fyqtos11fd" path="res://assets/audio/sfx/walk/stone/walk_stone_6.wav.mp3" id="18_4ni07"]
[ext_resource type="AudioStream" uid="uid://b4ng0o2en2hkm" path="res://assets/audio/sfx/player/fall_out/player_fall_infinitely-02.wav.mp3" id="19_4r5pv"]
[ext_resource type="AudioStream" uid="uid://bi546r2d771yg" path="res://assets/audio/sfx/player/take_damage/player_damaged_01.wav.mp3" id="20_ujl30"]
[ext_resource type="AudioStream" uid="uid://b8trgc0pbomud" path="res://assets/audio/sfx/player/take_damage/player_damaged_02.wav.mp3" id="21_31cv2"]
[ext_resource type="AudioStream" uid="uid://dsnvagvhs152x" path="res://assets/audio/sfx/player/take_damage/player_damaged_03.wav.mp3" id="22_pf23h"]
[ext_resource type="AudioStream" uid="uid://ce51n4tvvflro" path="res://assets/audio/sfx/player/take_damage/player_damaged_04.wav.mp3" id="23_dt7fs"]
[ext_resource type="AudioStream" uid="uid://caclaiagfnr2o" path="res://assets/audio/sfx/player/take_damage/player_damaged_05.wav.mp3" id="24_wqfne"]
[ext_resource type="AudioStream" uid="uid://dighi525ty7sl" path="res://assets/audio/sfx/player/take_damage/player_damaged_06.wav.mp3" id="25_wnwbv"]
[ext_resource type="AudioStream" uid="uid://bdhmel5vyixng" path="res://assets/audio/sfx/player/take_damage/player_damaged_07.wav.mp3" id="26_gl8cc"]
[ext_resource type="AudioStream" uid="uid://4vulahdsj4i2" path="res://assets/audio/sfx/swoosh/throw_01.wav.mp3" id="27_31cv2"]
[ext_resource type="AudioStream" uid="uid://w6yon88kjfml" path="res://assets/audio/sfx/nickes/lift_sfx.ogg" id="28_pf23h"]

[sub_resource type="Gradient" id="Gradient_jej6c"]
offsets = PackedFloat32Array(0.7710843, 0.77710843)
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)

[sub_resource type="GradientTexture2D" id="GradientTexture2D_f1ej7"]
gradient = SubResource("Gradient_jej6c")
fill = 1
fill_from = Vector2(0.51304346, 0.51304346)
fill_to = Vector2(0.9391304, 0.08260869)

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

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

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

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

[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_l71n6"]
playback_mode = 1
random_pitch = 1.0118532
streams_count = 6
stream_0/stream = ExtResource("13_fulsm")
stream_1/stream = ExtResource("14_4r5pv")
stream_2/stream = ExtResource("15_60mlk")
stream_3/stream = ExtResource("16_i4ail")
stream_4/stream = ExtResource("17_a38lo")
stream_5/stream = ExtResource("18_4ni07")

[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_487ah"]
playback_mode = 1
random_pitch = 1.0118532
streams_count = 7
stream_0/stream = ExtResource("20_ujl30")
stream_1/stream = ExtResource("21_31cv2")
stream_2/stream = ExtResource("22_pf23h")
stream_3/stream = ExtResource("23_dt7fs")
stream_4/stream = ExtResource("24_wqfne")
stream_5/stream = ExtResource("25_wnwbv")
stream_6/stream = ExtResource("26_gl8cc")

[node name="Player" type="CharacterBody2D" unique_id=937429705]
collision_mask = 67
motion_mode = 1
script = ExtResource("1")

[node name="PointLight2D" type="PointLight2D" parent="." unique_id=1250823818]
blend_mode = 2
texture = SubResource("GradientTexture2D_f1ej7")

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

[node name="Sprite2DBody" type="Sprite2D" parent="." unique_id=2113577699]
y_sort_enabled = true
texture = ExtResource("4")
hframes = 35
vframes = 8

[node name="Sprite2DBoots" type="Sprite2D" parent="." unique_id=598174931]
y_sort_enabled = true
texture = ExtResource("5")
hframes = 35
vframes = 8

[node name="Sprite2DArmour" type="Sprite2D" parent="." unique_id=2130297502]
y_sort_enabled = true
texture = ExtResource("6")
hframes = 35
vframes = 8

[node name="Sprite2DFacialHair" type="Sprite2D" parent="." unique_id=1050766722]
y_sort_enabled = true
texture = ExtResource("7")
hframes = 35
vframes = 8

[node name="Sprite2DHair" type="Sprite2D" parent="." unique_id=927492041]
y_sort_enabled = true
texture = ExtResource("8")
hframes = 35
vframes = 8

[node name="Sprite2DEyes" type="Sprite2D" parent="." unique_id=2054421939]
y_sort_enabled = true
texture = ExtResource("9")
hframes = 35
vframes = 8

[node name="Sprite2DEyeLashes" type="Sprite2D" parent="." unique_id=1437938522]
y_sort_enabled = true
texture = ExtResource("10")
hframes = 35
vframes = 8

[node name="Sprite2DAddons" type="Sprite2D" parent="." unique_id=962307958]
y_sort_enabled = true
texture = ExtResource("11")
hframes = 35
vframes = 8

[node name="Sprite2DHeadgear" type="Sprite2D" parent="." unique_id=526463008]
y_sort_enabled = true
texture = ExtResource("12")
hframes = 35
vframes = 8

[node name="Sprite2DWeapon" type="Sprite2D" parent="." unique_id=1889932388]
y_sort_enabled = true
texture = ExtResource("13")
hframes = 35
vframes = 8

[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=989315141]
position = Vector2(0, 4)
shape = SubResource("CircleShape2D_1")

[node name="GrabArea" type="Area2D" parent="." unique_id=518653365]
position = Vector2(0, 4)
collision_layer = 0
collision_mask = 3

[node name="CollisionShape2D" type="CollisionShape2D" parent="GrabArea" unique_id=432299400]
shape = SubResource("CircleShape2D_2")
debug_color = Color(0.70196074, 0.6126261, 0.19635464, 0.41960785)

[node name="InteractionIndicator" type="Sprite2D" parent="." unique_id=1661043470]
visible = false
modulate = Color(1, 1, 0, 0.5)
position = Vector2(0, -12)
scale = Vector2(4, 4)

[node name="Label" type="Label" parent="." unique_id=227628720]
offset_left = -10.0
offset_top = -15.0
offset_right = 10.0
offset_bottom = -9.0
horizontal_alignment = 1

[node name="SfxWalk" type="AudioStreamPlayer2D" parent="." unique_id=1693322702]
stream = SubResource("AudioStreamRandomizer_l71n6")
volume_db = -18.527
max_distance = 1412.0
attenuation = 8.282109
panning_strength = 1.11

[node name="TimerWalk" type="Timer" parent="SfxWalk" unique_id=590325386]
wait_time = 0.3
one_shot = true

[node name="SfxDie" type="AudioStreamPlayer2D" parent="." unique_id=1173215688]
stream = ExtResource("19_4r5pv")
volume_db = -2.537
attenuation = 8.876548
bus = &"Sfx"

[node name="SfxTakeDamage" type="AudioStreamPlayer2D" parent="." unique_id=322150091]
stream = SubResource("AudioStreamRandomizer_487ah")
volume_db = -6.092
attenuation = 7.7274756
panning_strength = 1.1
bus = &"Sfx"

[node name="SfxThrow" type="AudioStreamPlayer2D" parent="." unique_id=961008127]
stream = ExtResource("27_31cv2")
pitch_scale = 0.61
max_distance = 983.0
attenuation = 8.876549
panning_strength = 1.04

[node name="SfxLift" type="AudioStreamPlayer2D" parent="." unique_id=1261167113]
stream = ExtResource("28_pf23h")
max_distance = 1246.0
attenuation = 6.964403
panning_strength = 1.11
