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

[ext_resource type="Script" uid="uid://sbseykg05177" path="res://scripts/player.gd" id="1_ur7pv"]
[ext_resource type="Resource" uid="uid://cf7x0uuj6wnil" path="res://resources/scythe.tres" id="2_3v2ag"]
[ext_resource type="PackedScene" uid="uid://bp45yth1y3ia5" path="res://scenes/player_explosion.tscn" id="3_3v2ag"]
[ext_resource type="Script" uid="uid://synocbtvgrf4" path="res://scripts/shadow.gd" id="4_3v2ag"]
[ext_resource type="Texture2D" uid="uid://d3abeekjumqyb" path="res://assets/player/maske1.png" id="5_jej6c"]
[ext_resource type="Texture2D" uid="uid://dgd8u7jrpy1v5" path="res://assets/player/maske2.png" id="6_f1ej7"]
[ext_resource type="Texture2D" uid="uid://ftfnn5v1swc1" path="res://ui/arrow.png" id="7_fjrip"]
[ext_resource type="Texture2D" uid="uid://d3h6wl5cnf8ba" path="res://assets/player/maske3.png" id="7_oprun"]
[ext_resource type="Script" uid="uid://c0e4uacrlcrk8" path="res://scripts/float.gd" id="8_a8ls1"]
[ext_resource type="Script" uid="uid://dn6ro2vef1qps" path="res://scripts/arrow.gd" id="8_smehm"]
[ext_resource type="PackedScene" uid="uid://bq8ig7s8gxia4" path="res://ui/ui_layer.tscn" id="10_y4r1p"]
[ext_resource type="PackedScene" uid="uid://dv8l318cesr8e" path="res://scenes/main_cam.tscn" id="11_d2wvv"]

[sub_resource type="SpriteFrames" id="SpriteFrames_e36ub"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("5_jej6c")
}],
"loop": true,
"name": &"idle",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("5_jej6c")
}, {
"duration": 1.0,
"texture": ExtResource("6_f1ej7")
}, {
"duration": 1.0,
"texture": ExtResource("7_oprun")
}],
"loop": true,
"name": &"walk",
"speed": 5.0
}]

[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_f1jbl"]

[sub_resource type="CircleShape2D" id="CircleShape2D_215e1"]
radius = 10.049875

[node name="Player" type="CharacterBody2D" unique_id=1743724931 node_paths=PackedStringArray("main_visual") groups=["player"]]
y_sort_enabled = true
collision_layer = 2
motion_mode = 1
script = ExtResource("1_ur7pv")
current_mask_data = ExtResource("2_3v2ag")
move_speed = 70.0
main_visual = NodePath("PlayerSprite")
death_scene = ExtResource("3_3v2ag")

[node name="UILayer" parent="." unique_id=1349593982 instance=ExtResource("10_y4r1p")]

[node name="Shadow" type="Node2D" parent="." unique_id=1220110125]
position = Vector2(0, 19)
script = ExtResource("4_3v2ag")

[node name="PlayerSprite" type="AnimatedSprite2D" parent="." unique_id=1363626832]
position = Vector2(0, -30)
sprite_frames = SubResource("SpriteFrames_e36ub")
animation = &"idle"
autoplay = "walk"
script = ExtResource("8_a8ls1")
float_str = 3.0
float_time = 3.0

[node name="MaskSprite" type="Sprite2D" parent="PlayerSprite" unique_id=257186629]
position = Vector2(0, 1)
texture = SubResource("CompressedTexture2D_f1jbl")

[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=908201873]
position = Vector2(0, 12)
shape = SubResource("CircleShape2D_215e1")

[node name="Arrow" type="Sprite2D" parent="." unique_id=217782533]
scale = Vector2(2.468657, 2.468657)
texture = ExtResource("7_fjrip")
offset = Vector2(28.12, 0)
script = ExtResource("8_smehm")

[node name="MainCam" parent="." unique_id=1367061205 node_paths=PackedStringArray("ui_layer") instance=ExtResource("11_d2wvv")]
process_mode = 3
z_index = 10
target_res = Vector2(640, 360)
ui_layer = NodePath("../UILayer")
