[gd_scene load_steps=30 format=2]

[ext_resource path="res://assets/Background/lobby1.png" type="Texture" id=1]
[ext_resource path="res://assets/Player/AssetPLayerArrat3.png" type="Texture" id=2]
[ext_resource path="res://scripts/Player.gd" type="Script" id=3]
[ext_resource path="res://assets/Player/AssetPLayerArrat4.png" type="Texture" id=4]
[ext_resource path="res://assets/Player/AssetPLayerArrat2.png" type="Texture" id=5]
[ext_resource path="res://assets/Background/lobby2.png" type="Texture" id=6]
[ext_resource path="res://scripts/Lobby.gd" type="Script" id=7]
[ext_resource path="res://assets/Dummy/dummy.png" type="Texture" id=8]
[ext_resource path="res://assets/Sound/sound.mp3" type="AudioStream" id=9]
[ext_resource path="res://scripts/AudioStreamPlayer.gd" type="Script" id=10]
[ext_resource path="res://assets/Player/AssetPLayerArratprisel2_2.png" type="Texture" id=11]
[ext_resource path="res://assets/Player/AssetPLayerArratprisel3_2.png" type="Texture" id=12]
[ext_resource path="res://assets/Player/AssetPLayerArratprisel1_2.png" type="Texture" id=13]
[ext_resource path="res://assets/GUI/HP_Bar/HP_Bar.tscn" type="PackedScene" id=14]
[ext_resource path="res://addons/escape/Escape.tscn" type="PackedScene" id=16]
[ext_resource path="res://assets/Player/AssetPLayerArrat1.png" type="Texture" id=17]
[ext_resource path="res://scripts/Save.gd" type="Script" id=18]
[ext_resource path="res://assets/AidKit/AidKit.tscn" type="PackedScene" id=19]
[ext_resource path="res://scripts/Level_One.gd" type="Script" id=21]

[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 513.367, 12.0937 )

[sub_resource type="SpriteFrames" id=2]
animations = [ {
"frames": [ ExtResource( 1 ), ExtResource( 6 ) ],
"loop": true,
"name": "idle",
"speed": 1.0
} ]

[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 25.227, 3.39905 )

[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 24.1675, 1.89822 )

[sub_resource type="SegmentShape2D" id=5]
a = Vector2( -134.99, 118.447 )

[sub_resource type="RectangleShape2D" id=6]
extents = Vector2( 522.186, 11.9596 )

[sub_resource type="RectangleShape2D" id=7]
extents = Vector2( 10, 233.152 )

[sub_resource type="RectangleShape2D" id=8]
extents = Vector2( 19.6767, 23.7101 )

[sub_resource type="SpriteFrames" id=9]
animations = [ {
"frames": [ ExtResource( 4 ) ],
"loop": true,
"name": "jump",
"speed": 5.0
}, {
"frames": [ ExtResource( 17 ), ExtResource( 4 ) ],
"loop": true,
"name": "Idle",
"speed": 5.0
}, {
"frames": [ ExtResource( 5 ), ExtResource( 2 ) ],
"loop": true,
"name": "Walk",
"speed": 4.0
}, {
"frames": [ ExtResource( 17 ) ],
"loop": true,
"name": "posible",
"speed": 5.0
}, {
"frames": [ ExtResource( 13 ), ExtResource( 11 ), ExtResource( 12 ) ],
"loop": true,
"name": "SquatAction",
"speed": 5.0
}, {
"frames": [ ExtResource( 13 ) ],
"loop": true,
"name": "SquatIdle",
"speed": 5.0
} ]

[sub_resource type="RectangleShape2D" id=10]
extents = Vector2( 19.8385, 19.4203 )

[node name="Level_One" type="Node2D"]
position = Vector2( -13.3484, -21.3574 )
scale = Vector2( 1.9, 1.9 )
script = ExtResource( 21 )
__meta__ = {
"_edit_horizontal_guides_": [  ]
}

[node name="Terrain" type="StaticBody2D" parent="."]
position = Vector2( 10.2105, 366.252 )

[node name="TerrainCollision" type="CollisionShape2D" parent="Terrain"]
position = Vector2( 495.805, 53.6347 )
shape = SubResource( 1 )

[node name="lobby1" type="Sprite" parent="Terrain"]
position = Vector2( 494.82, -72.5518 )
scale = Vector2( 5.33135, 5.54181 )
texture = ExtResource( 1 )
script = ExtResource( 7 )

[node name="AnimatedSprite" type="AnimatedSprite" parent="Terrain/lobby1"]
position = Vector2( 0.151642, -0.225491 )
frames = SubResource( 2 )
animation = "idle"

[node name="FirstBorder" type="CollisionShape2D" parent="Terrain"]
position = Vector2( 99.5895, -42.3785 )
shape = SubResource( 3 )
one_way_collision = true

[node name="SecondBorder" type="CollisionShape2D" parent="Terrain"]
position = Vector2( 169.514, -90.7393 )
shape = SubResource( 4 )
one_way_collision = true

[node name="Hill" type="CollisionShape2D" parent="Terrain"]
position = Vector2( 540.015, -75.6807 )
shape = SubResource( 5 )
one_way_collision = true

[node name="ScreenBorders" type="Node2D" parent="."]
position = Vector2( 502.356, -12.157 )

[node name="StaticBody2D" type="StaticBody2D" parent="ScreenBorders"]

[node name="UpBorder" type="CollisionShape2D" parent="ScreenBorders/StaticBody2D"]
position = Vector2( -3.05176e-05, 0 )
shape = SubResource( 6 )

[node name="RightBorder" type="CollisionShape2D" parent="ScreenBorders/StaticBody2D"]
position = Vector2( 522.424, 225.791 )
shape = SubResource( 7 )

[node name="LeftBorder" type="CollisionShape2D" parent="ScreenBorders/StaticBody2D"]
position = Vector2( -497.768, 222.716 )
shape = SubResource( 7 )

[node name="dummy" type="Sprite" parent="."]
position = Vector2( 890.086, 392.164 )
scale = Vector2( 4.2964, 4.466 )
texture = ExtResource( 8 )
offset = Vector2( 0, -4.75143 )

[node name="dummy2" type="Sprite" parent="dummy"]
position = Vector2( -12.0661, -4.80078 )
scale = Vector2( 1.01564, 0.977069 )
texture = ExtResource( 8 )

[node name="Player" type="KinematicBody2D" parent="."]
position = Vector2( 15.2008, 102.35 )
script = ExtResource( 3 )

[node name="Collision" type="CollisionShape2D" parent="Player"]
position = Vector2( 101.15, 46.1497 )
shape = SubResource( 8 )

[node name="AnimatedSprite" type="AnimatedSprite" parent="Player"]
position = Vector2( 94.3338, 43.5671 )
scale = Vector2( 4.41596, 4.19006 )
frames = SubResource( 9 )
animation = "Idle"

[node name="CollisionSit" type="CollisionShape2D" parent="Player"]
visible = false
position = Vector2( 100.997, 50.2748 )
shape = SubResource( 10 )
disabled = true

[node name="GunPosition" type="Position2D" parent="Player"]
position = Vector2( 120.868, 48.211 )

[node name="Camera2D" type="Camera2D" parent="Player"]
position = Vector2( 482.261, 30.5855 )
scale = Vector2( 0.9, 0.5 )
current = true
limit_left = 0
limit_top = 0
limit_right = 1920
limit_bottom = 1080
smoothing_enabled = true

[node name="RunTimer" type="Timer" parent="Player"]
autostart = true

[node name="RecoveryPower" type="Timer" parent="Player"]
wait_time = 5.0

[node name="dummy2" type="Sprite" parent="."]
position = Vector2( 785.746, 374.176 )
scale = Vector2( 4.23422, 4.23422 )
texture = ExtResource( 8 )

[node name="AidKit" parent="." instance=ExtResource( 19 )]
position = Vector2( 536.022, 252.26 )
scale = Vector2( 0.3, 0.3 )

[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 9 )
volume_db = -0.207
script = ExtResource( 10 )

[node name="HP_Bar" parent="." instance=ExtResource( 14 )]

[node name="Escape" parent="." instance=ExtResource( 16 )]
visible = false
position = Vector2( 1.33099, -0.184305 )

[node name="TimeMachine" type="Node2D" parent="."]
script = ExtResource( 18 )

[connection signal="timeout" from="Player/RunTimer" to="Player" method="_on_RunTimer_timeout"]
[connection signal="timeout" from="Player/RecoveryPower" to="Player" method="_on_RecoveryPower_timeout"]
