[gd_scene load_steps=10 format=2]

[ext_resource path="res://src/Levels/Level.tscn" type="PackedScene" id=1]
[ext_resource path="res://src/CameraControl-Position2D.gd" type="Script" id=5]
[ext_resource path="res://assets/Fonts/QuinqueFive.tres" type="DynamicFont" id=8]
[ext_resource path="res://src/UI_Layer.gd" type="Script" id=9]
[ext_resource path="res://assets/UI/Healthbar.png" type="Texture" id=10]
[ext_resource path="res://assets/UI/Healthbar-Indicator.png" type="Texture" id=11]
[ext_resource path="res://src/UI/HealthBar.gd" type="Script" id=12]
[ext_resource path="res://icon.png" type="Texture" id=13]
[ext_resource path="res://src/playerD/Player.tscn" type="PackedScene" id=14]

[node name="Main" type="Node2D"]

[node name="Level" parent="." instance=ExtResource( 1 )]

[node name="Player" parent="." instance=ExtResource( 14 )]
position = Vector2( 859, 236 )

[node name="CameraControl" type="Position2D" parent="."]
pause_mode = 2
process_priority = 1
script = ExtResource( 5 )
__meta__ = {
"_edit_group_": true
}

[node name="Line2D" type="Line2D" parent="CameraControl"]
visible = false
points = PoolVector2Array( 0, 0, 160, 160, 241, 217, 406, 261, 358, 359, 43, 412, 53, 279, 250, 121, 355, -64, -4, 167, -141, -162, -274, -190, -321, 55, -211, 196, 564, 205, -325, -173, 174, -15 )
width = 3.0
__meta__ = {
"_edit_lock_": true
}

[node name="Camera2D" type="Camera2D" parent="CameraControl"]
process_priority = 1
anchor_mode = 0
current = true
smoothing_speed = 3.0
__meta__ = {
"_edit_lock_": true
}

[node name="Up" type="RayCast2D" parent="CameraControl"]
position = Vector2( 160, 90 )
enabled = true
cast_to = Vector2( 0, -90 )
collision_mask = 256
collide_with_areas = true
collide_with_bodies = false
__meta__ = {
"_edit_lock_": true
}

[node name="Down" type="RayCast2D" parent="CameraControl"]
position = Vector2( 160, 90 )
enabled = true
cast_to = Vector2( 0, 90 )
collision_mask = 256
collide_with_areas = true
collide_with_bodies = false
__meta__ = {
"_edit_lock_": true
}

[node name="Left" type="RayCast2D" parent="CameraControl"]
position = Vector2( 160, 90 )
enabled = true
cast_to = Vector2( -160, 0 )
collision_mask = 256
collide_with_areas = true
collide_with_bodies = false
__meta__ = {
"_edit_lock_": true
}

[node name="Right" type="RayCast2D" parent="CameraControl"]
position = Vector2( 160, 90 )
enabled = true
cast_to = Vector2( 160, 0 )
collision_mask = 256
collide_with_areas = true
collide_with_bodies = false
__meta__ = {
"_edit_lock_": true
}

[node name="Timer" type="Timer" parent="CameraControl"]
wait_time = 1.5

[node name="UI_Layer" type="CanvasLayer" parent="."]
pause_mode = 2
layer = 2
script = ExtResource( 9 )

[node name="PanelContainer" type="PanelContainer" parent="UI_Layer"]
margin_left = 2.0
margin_top = 2.0
margin_right = 318.0
margin_bottom = 80.0

[node name="HSplitContainer" type="HSplitContainer" parent="UI_Layer/PanelContainer"]
margin_left = 7.0
margin_top = 7.0
margin_right = 309.0
margin_bottom = 71.0
size_flags_vertical = 0
split_offset = 1

[node name="TextureRect" type="TextureRect" parent="UI_Layer/PanelContainer/HSplitContainer"]
margin_right = 65.0
margin_bottom = 64.0
grow_vertical = 2
size_flags_vertical = 5
texture = ExtResource( 13 )

[node name="Label" type="Label" parent="UI_Layer/PanelContainer/HSplitContainer"]
margin_left = 77.0
margin_right = 302.0
margin_bottom = 64.0
size_flags_vertical = 1
size_flags_stretch_ratio = 5.0
custom_fonts/font = ExtResource( 8 )
text = "In a world where danger lurks in your plumbing. One thing decides to do another thing and we all determine it wasn't worth it. Hello World"
autowrap = true

[node name="Polygon2D" type="Polygon2D" parent="UI_Layer/PanelContainer"]
position = Vector2( 75, 16.5 )
scale = Vector2( 0.769547, 0.833333 )
color = Color( 0.533333, 0.533333, 0.533333, 1 )
polygon = PoolVector2Array( 294, 63, 300.177, 63, 307, 63, 300.503, 69 )

[node name="HealthBar" type="TextureProgress" parent="UI_Layer"]
margin_left = 2.0
margin_top = 2.0
margin_right = 104.0
margin_bottom = 14.0
value = 50.0
texture_under = ExtResource( 10 )
texture_progress = ExtResource( 11 )
texture_progress_offset = Vector2( 1, 1 )
script = ExtResource( 12 )

[node name="Debug" type="Label" parent="UI_Layer"]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -192.0
margin_top = 3.0
margin_right = -3.0
margin_bottom = 17.0
text = "Foo"
align = 2
