[gd_scene load_steps=116 format=2]

[ext_resource path="res://lib/templates/Actor/ActorTemplate.tscn" type="PackedScene" id=1]
[ext_resource path="res://src/actors/players/playerD/movement_component.gd" type="Script" id=2]
[ext_resource path="res://src/actors/players/playerD/Player.gd" type="Script" id=3]
[ext_resource path="res://lib/components/Health_Component.tscn" type="PackedScene" id=7]
[ext_resource path="res://lib/components/Modifier_Receiver.tscn" type="PackedScene" id=9]
[ext_resource path="res://lib/templates/Interactable/Interactable_Receiver.gd" type="Script" id=16]

[sub_resource type="RectangleShape2D" id=197]
extents = Vector2( 13, 18.5 )

[sub_resource type="StreamTexture" id=90]
load_path = "res://.import/Mega.png-398a010e8e27ac84fe3335706e03da1e.stex"

[sub_resource type="AtlasTexture" id=91]
atlas = SubResource( 90 )
region = Rect2( 1680, 960, 240, 160 )

[sub_resource type="AtlasTexture" id=92]
atlas = SubResource( 90 )
region = Rect2( 1920, 960, 240, 160 )

[sub_resource type="AtlasTexture" id=93]
atlas = SubResource( 90 )
region = Rect2( 2160, 960, 240, 160 )

[sub_resource type="AtlasTexture" id=94]
atlas = SubResource( 90 )
region = Rect2( 2400, 960, 240, 160 )

[sub_resource type="AtlasTexture" id=95]
atlas = SubResource( 90 )
region = Rect2( 0, 1120, 240, 160 )

[sub_resource type="AtlasTexture" id=96]
atlas = SubResource( 90 )
region = Rect2( 240, 1120, 240, 160 )

[sub_resource type="AtlasTexture" id=97]
atlas = SubResource( 90 )
region = Rect2( 1440, 960, 240, 160 )

[sub_resource type="AtlasTexture" id=98]
atlas = SubResource( 90 )
region = Rect2( 480, 1120, 240, 160 )

[sub_resource type="AtlasTexture" id=99]
atlas = SubResource( 90 )
region = Rect2( 480, 160, 240, 160 )

[sub_resource type="AtlasTexture" id=100]
atlas = SubResource( 90 )
region = Rect2( 720, 160, 240, 160 )

[sub_resource type="AtlasTexture" id=101]
atlas = SubResource( 90 )
region = Rect2( 960, 160, 240, 160 )

[sub_resource type="AtlasTexture" id=102]
atlas = SubResource( 90 )
region = Rect2( 1200, 160, 240, 160 )

[sub_resource type="AtlasTexture" id=103]
atlas = SubResource( 90 )
region = Rect2( 1440, 160, 240, 160 )

[sub_resource type="AtlasTexture" id=104]
atlas = SubResource( 90 )
region = Rect2( 240, 1440, 240, 160 )

[sub_resource type="AtlasTexture" id=105]
atlas = SubResource( 90 )
region = Rect2( 480, 1440, 240, 160 )

[sub_resource type="AtlasTexture" id=106]
atlas = SubResource( 90 )
region = Rect2( 720, 1440, 240, 160 )

[sub_resource type="AtlasTexture" id=107]
atlas = SubResource( 90 )
region = Rect2( 960, 1440, 240, 160 )

[sub_resource type="AtlasTexture" id=108]
atlas = SubResource( 90 )
region = Rect2( 1200, 1440, 240, 160 )

[sub_resource type="AtlasTexture" id=109]
atlas = SubResource( 90 )
region = Rect2( 1440, 1440, 240, 160 )

[sub_resource type="AtlasTexture" id=110]
atlas = SubResource( 90 )
region = Rect2( 1680, 1440, 240, 160 )

[sub_resource type="AtlasTexture" id=111]
atlas = SubResource( 90 )
region = Rect2( 1920, 1440, 240, 160 )

[sub_resource type="AtlasTexture" id=112]
atlas = SubResource( 90 )
region = Rect2( 2160, 1440, 240, 160 )

[sub_resource type="AtlasTexture" id=113]
atlas = SubResource( 90 )
region = Rect2( 2400, 1440, 240, 160 )

[sub_resource type="AtlasTexture" id=114]
atlas = SubResource( 90 )
region = Rect2( 0, 1600, 240, 160 )

[sub_resource type="AtlasTexture" id=115]
atlas = SubResource( 90 )
region = Rect2( 960, 960, 240, 160 )

[sub_resource type="AtlasTexture" id=116]
atlas = SubResource( 90 )
region = Rect2( 1200, 960, 240, 160 )

[sub_resource type="AtlasTexture" id=117]
atlas = SubResource( 90 )
region = Rect2( 1200, 0, 240, 160 )

[sub_resource type="AtlasTexture" id=118]
atlas = SubResource( 90 )
region = Rect2( 0, 0, 240, 160 )

[sub_resource type="AtlasTexture" id=119]
atlas = SubResource( 90 )
region = Rect2( 1440, 0, 240, 160 )

[sub_resource type="AtlasTexture" id=120]
atlas = SubResource( 90 )
region = Rect2( 1680, 0, 240, 160 )

[sub_resource type="AtlasTexture" id=121]
atlas = SubResource( 90 )
region = Rect2( 1920, 0, 240, 160 )

[sub_resource type="AtlasTexture" id=122]
atlas = SubResource( 90 )
region = Rect2( 2160, 0, 240, 160 )

[sub_resource type="AtlasTexture" id=123]
atlas = SubResource( 90 )
region = Rect2( 240, 1600, 240, 160 )

[sub_resource type="AtlasTexture" id=124]
atlas = SubResource( 90 )
region = Rect2( 480, 1600, 240, 160 )

[sub_resource type="AtlasTexture" id=125]
atlas = SubResource( 90 )
region = Rect2( 720, 1600, 240, 160 )

[sub_resource type="AtlasTexture" id=126]
atlas = SubResource( 90 )
region = Rect2( 240, 160, 240, 160 )

[sub_resource type="AtlasTexture" id=127]
atlas = SubResource( 90 )
region = Rect2( 1680, 160, 240, 160 )

[sub_resource type="AtlasTexture" id=128]
atlas = SubResource( 90 )
region = Rect2( 1920, 160, 240, 160 )

[sub_resource type="AtlasTexture" id=129]
atlas = SubResource( 90 )
region = Rect2( 2160, 160, 240, 160 )

[sub_resource type="AtlasTexture" id=130]
atlas = SubResource( 90 )
region = Rect2( 2400, 160, 240, 160 )

[sub_resource type="AtlasTexture" id=131]
atlas = SubResource( 90 )
region = Rect2( 0, 320, 240, 160 )

[sub_resource type="AtlasTexture" id=132]
atlas = SubResource( 90 )
region = Rect2( 240, 320, 240, 160 )

[sub_resource type="AtlasTexture" id=133]
atlas = SubResource( 90 )
region = Rect2( 480, 320, 240, 160 )

[sub_resource type="AtlasTexture" id=134]
atlas = SubResource( 90 )
region = Rect2( 720, 320, 240, 160 )

[sub_resource type="AtlasTexture" id=135]
atlas = SubResource( 90 )
region = Rect2( 960, 320, 240, 160 )

[sub_resource type="AtlasTexture" id=136]
atlas = SubResource( 90 )
region = Rect2( 1200, 320, 240, 160 )

[sub_resource type="AtlasTexture" id=137]
atlas = SubResource( 90 )
region = Rect2( 1680, 640, 240, 160 )

[sub_resource type="AtlasTexture" id=138]
atlas = SubResource( 90 )
region = Rect2( 1920, 640, 240, 160 )

[sub_resource type="AtlasTexture" id=139]
atlas = SubResource( 90 )
region = Rect2( 2160, 640, 240, 160 )

[sub_resource type="AtlasTexture" id=140]
atlas = SubResource( 90 )
region = Rect2( 2400, 640, 240, 160 )

[sub_resource type="AtlasTexture" id=141]
atlas = SubResource( 90 )
region = Rect2( 0, 800, 240, 160 )

[sub_resource type="AtlasTexture" id=142]
atlas = SubResource( 90 )
region = Rect2( 240, 800, 240, 160 )

[sub_resource type="AtlasTexture" id=143]
atlas = SubResource( 90 )
region = Rect2( 480, 800, 240, 160 )

[sub_resource type="AtlasTexture" id=144]
atlas = SubResource( 90 )
region = Rect2( 720, 800, 240, 160 )

[sub_resource type="AtlasTexture" id=145]
atlas = SubResource( 90 )
region = Rect2( 960, 800, 240, 160 )

[sub_resource type="AtlasTexture" id=146]
atlas = SubResource( 90 )
region = Rect2( 1200, 800, 240, 160 )

[sub_resource type="AtlasTexture" id=147]
atlas = SubResource( 90 )
region = Rect2( 1440, 800, 240, 160 )

[sub_resource type="AtlasTexture" id=148]
atlas = SubResource( 90 )
region = Rect2( 1920, 320, 240, 160 )

[sub_resource type="AtlasTexture" id=149]
atlas = SubResource( 90 )
region = Rect2( 2160, 320, 240, 160 )

[sub_resource type="AtlasTexture" id=150]
atlas = SubResource( 90 )
region = Rect2( 2400, 320, 240, 160 )

[sub_resource type="AtlasTexture" id=151]
atlas = SubResource( 90 )
region = Rect2( 0, 480, 240, 160 )

[sub_resource type="AtlasTexture" id=152]
atlas = SubResource( 90 )
region = Rect2( 240, 480, 240, 160 )

[sub_resource type="AtlasTexture" id=153]
atlas = SubResource( 90 )
region = Rect2( 480, 480, 240, 160 )

[sub_resource type="AtlasTexture" id=154]
atlas = SubResource( 90 )
region = Rect2( 720, 480, 240, 160 )

[sub_resource type="AtlasTexture" id=155]
atlas = SubResource( 90 )
region = Rect2( 960, 480, 240, 160 )

[sub_resource type="AtlasTexture" id=156]
atlas = SubResource( 90 )
region = Rect2( 1200, 480, 240, 160 )

[sub_resource type="AtlasTexture" id=157]
atlas = SubResource( 90 )
region = Rect2( 1440, 480, 240, 160 )

[sub_resource type="AtlasTexture" id=158]
atlas = SubResource( 90 )
region = Rect2( 1920, 480, 240, 160 )

[sub_resource type="AtlasTexture" id=159]
atlas = SubResource( 90 )
region = Rect2( 2160, 480, 240, 160 )

[sub_resource type="AtlasTexture" id=160]
atlas = SubResource( 90 )
region = Rect2( 2400, 480, 240, 160 )

[sub_resource type="AtlasTexture" id=161]
atlas = SubResource( 90 )
region = Rect2( 0, 640, 240, 160 )

[sub_resource type="AtlasTexture" id=162]
atlas = SubResource( 90 )
region = Rect2( 240, 640, 240, 160 )

[sub_resource type="AtlasTexture" id=163]
atlas = SubResource( 90 )
region = Rect2( 480, 640, 240, 160 )

[sub_resource type="AtlasTexture" id=164]
atlas = SubResource( 90 )
region = Rect2( 720, 640, 240, 160 )

[sub_resource type="AtlasTexture" id=165]
atlas = SubResource( 90 )
region = Rect2( 960, 640, 240, 160 )

[sub_resource type="AtlasTexture" id=166]
atlas = SubResource( 90 )
region = Rect2( 1200, 640, 240, 160 )

[sub_resource type="AtlasTexture" id=167]
atlas = SubResource( 90 )
region = Rect2( 1440, 640, 240, 160 )

[sub_resource type="AtlasTexture" id=168]
atlas = SubResource( 90 )
region = Rect2( 2400, 0, 240, 160 )

[sub_resource type="AtlasTexture" id=169]
atlas = SubResource( 90 )
region = Rect2( 0, 160, 240, 160 )

[sub_resource type="AtlasTexture" id=170]
atlas = SubResource( 90 )
region = Rect2( 720, 1120, 240, 160 )

[sub_resource type="AtlasTexture" id=171]
atlas = SubResource( 90 )
region = Rect2( 960, 1120, 240, 160 )

[sub_resource type="AtlasTexture" id=172]
atlas = SubResource( 90 )
region = Rect2( 1200, 1120, 240, 160 )

[sub_resource type="AtlasTexture" id=173]
atlas = SubResource( 90 )
region = Rect2( 1440, 1120, 240, 160 )

[sub_resource type="AtlasTexture" id=174]
atlas = SubResource( 90 )
region = Rect2( 1680, 1120, 240, 160 )

[sub_resource type="AtlasTexture" id=175]
atlas = SubResource( 90 )
region = Rect2( 1920, 1120, 240, 160 )

[sub_resource type="AtlasTexture" id=176]
atlas = SubResource( 90 )
region = Rect2( 2160, 1120, 240, 160 )

[sub_resource type="AtlasTexture" id=177]
atlas = SubResource( 90 )
region = Rect2( 2400, 1120, 240, 160 )

[sub_resource type="AtlasTexture" id=178]
atlas = SubResource( 90 )
region = Rect2( 0, 1280, 240, 160 )

[sub_resource type="AtlasTexture" id=179]
atlas = SubResource( 90 )
region = Rect2( 240, 1280, 240, 160 )

[sub_resource type="AtlasTexture" id=180]
atlas = SubResource( 90 )
region = Rect2( 480, 1280, 240, 160 )

[sub_resource type="AtlasTexture" id=181]
atlas = SubResource( 90 )
region = Rect2( 720, 1280, 240, 160 )

[sub_resource type="AtlasTexture" id=182]
atlas = SubResource( 90 )
region = Rect2( 960, 1280, 240, 160 )

[sub_resource type="AtlasTexture" id=183]
atlas = SubResource( 90 )
region = Rect2( 1200, 1280, 240, 160 )

[sub_resource type="AtlasTexture" id=184]
atlas = SubResource( 90 )
region = Rect2( 1440, 1280, 240, 160 )

[sub_resource type="AtlasTexture" id=185]
atlas = SubResource( 90 )
region = Rect2( 1680, 1280, 240, 160 )

[sub_resource type="AtlasTexture" id=186]
atlas = SubResource( 90 )
region = Rect2( 1920, 1280, 240, 160 )

[sub_resource type="AtlasTexture" id=187]
atlas = SubResource( 90 )
region = Rect2( 2160, 1280, 240, 160 )

[sub_resource type="AtlasTexture" id=188]
atlas = SubResource( 90 )
region = Rect2( 2400, 1280, 240, 160 )

[sub_resource type="AtlasTexture" id=189]
atlas = SubResource( 90 )
region = Rect2( 0, 1440, 240, 160 )

[sub_resource type="AtlasTexture" id=190]
atlas = SubResource( 90 )
region = Rect2( 240, 0, 240, 160 )

[sub_resource type="AtlasTexture" id=191]
atlas = SubResource( 90 )
region = Rect2( 480, 0, 240, 160 )

[sub_resource type="AtlasTexture" id=192]
atlas = SubResource( 90 )
region = Rect2( 720, 0, 240, 160 )

[sub_resource type="AtlasTexture" id=193]
atlas = SubResource( 90 )
region = Rect2( 960, 0, 240, 160 )

[sub_resource type="AtlasTexture" id=194]
atlas = SubResource( 90 )
region = Rect2( 1680, 320, 240, 160 )

[sub_resource type="AtlasTexture" id=195]
atlas = SubResource( 90 )
region = Rect2( 1680, 480, 240, 160 )

[sub_resource type="SpriteFrames" id=196]
animations = [ {
"frames": [ SubResource( 91 ), SubResource( 92 ), SubResource( 93 ), SubResource( 94 ), SubResource( 95 ), SubResource( 96 ) ],
"loop": true,
"name": "climb",
"speed": 10.0
}, {
"frames": [ SubResource( 97 ) ],
"loop": false,
"name": "climb_step",
"speed": 10.0
}, {
"frames": [ SubResource( 98 ) ],
"loop": false,
"name": "climb_upstep",
"speed": 10.0
}, {
"frames": [ SubResource( 99 ), SubResource( 99 ), SubResource( 99 ), SubResource( 100 ), SubResource( 101 ), SubResource( 102 ), SubResource( 103 ), SubResource( 103 ), SubResource( 103 ) ],
"loop": false,
"name": "dash",
"speed": 10.0
}, {
"frames": [ SubResource( 104 ), SubResource( 105 ), SubResource( 106 ), SubResource( 107 ), SubResource( 108 ), SubResource( 109 ), SubResource( 110 ), SubResource( 111 ), SubResource( 112 ), SubResource( 113 ), SubResource( 112 ), SubResource( 114 ) ],
"loop": false,
"name": "die",
"speed": 10.0
}, {
"frames": [ SubResource( 115 ), SubResource( 116 ) ],
"loop": true,
"name": "hurt",
"speed": 4.0
}, {
"frames": [ SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 117 ), SubResource( 118 ), SubResource( 119 ), SubResource( 120 ), SubResource( 121 ), SubResource( 122 ) ],
"loop": true,
"name": "idle",
"speed": 10.0
}, {
"frames": [ SubResource( 123 ), SubResource( 124 ), SubResource( 125 ) ],
"loop": true,
"name": "idle_shield",
"speed": 10.0
}, {
"frames": [ SubResource( 126 ) ],
"loop": true,
"name": "idle_shoot",
"speed": 10.0
}, {
"frames": [ SubResource( 127 ), SubResource( 128 ), SubResource( 129 ), SubResource( 130 ), SubResource( 128 ), SubResource( 131 ), SubResource( 132 ), SubResource( 133 ) ],
"loop": false,
"name": "jump",
"speed": 10.0
}, {
"frames": [ SubResource( 134 ), SubResource( 134 ), SubResource( 134 ), SubResource( 134 ), SubResource( 134 ), SubResource( 134 ), SubResource( 135 ), SubResource( 136 ) ],
"loop": false,
"name": "jump_shoot",
"speed": 10.0
}, {
"frames": [ SubResource( 137 ), SubResource( 138 ), SubResource( 139 ), SubResource( 140 ), SubResource( 141 ), SubResource( 142 ), SubResource( 143 ), SubResource( 144 ), SubResource( 145 ), SubResource( 146 ), SubResource( 147 ) ],
"loop": false,
"name": "roll",
"speed": 10.0
}, {
"frames": [ SubResource( 148 ), SubResource( 149 ), SubResource( 150 ), SubResource( 151 ), SubResource( 152 ), SubResource( 153 ), SubResource( 154 ), SubResource( 155 ), SubResource( 156 ), SubResource( 157 ) ],
"loop": true,
"name": "run",
"speed": 10.0
}, {
"frames": [ SubResource( 158 ), SubResource( 159 ), SubResource( 160 ), SubResource( 161 ), SubResource( 162 ), SubResource( 163 ), SubResource( 164 ), SubResource( 165 ), SubResource( 166 ), SubResource( 167 ) ],
"loop": true,
"name": "run_shoot",
"speed": 10.0
}, {
"frames": [ SubResource( 168 ), SubResource( 169 ), SubResource( 126 ) ],
"loop": false,
"name": "shoot",
"speed": 10.0
}, {
"frames": [ SubResource( 170 ), SubResource( 171 ), SubResource( 172 ), SubResource( 172 ), SubResource( 173 ), SubResource( 174 ), SubResource( 175 ), SubResource( 176 ), SubResource( 176 ), SubResource( 177 ), SubResource( 178 ), SubResource( 179 ), SubResource( 180 ), SubResource( 181 ), SubResource( 182 ), SubResource( 183 ), SubResource( 184 ), SubResource( 185 ), SubResource( 186 ), SubResource( 187 ), SubResource( 188 ), SubResource( 189 ) ],
"loop": true,
"name": "slash",
"speed": 10.0
}, {
"frames": [ SubResource( 118 ), SubResource( 190 ), SubResource( 191 ), SubResource( 192 ), SubResource( 193 ) ],
"loop": false,
"name": "stand",
"speed": 10.0
}, {
"frames": [ SubResource( 194 ) ],
"loop": false,
"name": "step",
"speed": 10.0
}, {
"frames": [ SubResource( 195 ) ],
"loop": false,
"name": "step_shoot",
"speed": 10.0
} ]

[sub_resource type="RectangleShape2D" id=89]
extents = Vector2( 12, 16 )

[node name="Player" instance=ExtResource( 1 )]
script = ExtResource( 3 )
actor_type = "Player"
player_number = 1

[node name="CollisionShape2D" type="CollisionShape2D" parent="." index="0"]
position = Vector2( 0, -3.5 )
shape = SubResource( 197 )

[node name="AnimatedSprite" parent="." index="1"]
position = Vector2( -1, -51 )
frames = SubResource( 196 )
animation = "idle_shoot"
__meta__ = {
"_aseprite_wizard_config_": {
"layer": "",
"o_ex_p": "_+",
"o_folder": "res://assets",
"o_name": "",
"only_visible": true,
"op_exp": false,
"slice": "",
"source": "D:/Sync/Assets/Library/Mega.ase"
}
}

[node name="movement_component" parent="." index="2"]
script = ExtResource( 2 )
player_number = 1
interactable_node = NodePath("../Interactable_Receiver")

[node name="Hurtbox_Component" parent="." index="4"]
collision_layer = 16
collision_mask = 128
hurtbox_entered_function = "hit_Receiver"

[node name="CollisionShape2D" parent="Hurtbox_Component" index="0"]
position = Vector2( 0, -2 )
shape = SubResource( 89 )

[node name="Health_Component" parent="." index="6" instance=ExtResource( 7 )]
max_health = 100

[node name="Interactable_Receiver" type="Node2D" parent="." index="7"]
script = ExtResource( 16 )
interactable_parent_callback = "touch_the_thing"

[node name="Modifier_Receiver" parent="." index="8" instance=ExtResource( 9 )]
modifier_parent_callback = "receive_modifier"
debug_receiver = true

[node name="Ladder_Detection" type="RayCast2D" parent="." index="9"]
modulate = Color( 0.247059, 0.92549, 0.0313726, 1 )
position = Vector2( 0, 5 )
enabled = true
cast_to = Vector2( 0, 15 )
collision_mask = 1024
collide_with_areas = true
collide_with_bodies = false

[connection signal="health_depleted" from="Health_Component" to="." method="_on_Health_Component_health_depleted"]
