[gd_scene load_steps=9 format=3 uid="uid://dnlieafj63tw"]

[ext_resource type="Script" path="res://Scripts/level.gd" id="1_ci6lq"]
[ext_resource type="PackedScene" uid="uid://wu7ure8p72fr" path="res://Scenes/player.tscn" id="2_05j2e"]
[ext_resource type="Texture2D" uid="uid://clg7a5bh5t7fd" path="res://icon.svg" id="3_3sb8p"]
[ext_resource type="PackedScene" uid="uid://dv58t6q7fhe2t" path="res://Scenes/jump_pad.tscn" id="4_4kagi"]
[ext_resource type="PackedScene" uid="uid://c8gsyyeu7nud6" path="res://Scenes/saw.tscn" id="5_52op1"]
[ext_resource type="PackedScene" uid="uid://d1r8mfxyvd8dl" path="res://Scenes/spike_balls.tscn" id="6_1crvg"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_w1p1w"]
size = Vector2(846, 20)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_6t4ts"]
size = Vector2(2376, 10)

[node name="Level" type="Node2D"]
script = ExtResource("1_ci6lq")

[node name="Player" parent="." instance=ExtResource("2_05j2e")]
position = Vector2(240, 135)

[node name="Ground" type="StaticBody2D" parent="."]
position = Vector2(-412, 236)
collision_mask = 2

[node name="Sprite2D" type="Sprite2D" parent="Ground"]
modulate = Color(0, 0, 0, 1)
position = Vector2(413, 0)
scale = Vector2(6.59375, 0.171875)
texture = ExtResource("3_3sb8p")

[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground"]
position = Vector2(413, 0)
shape = SubResource("RectangleShape2D_w1p1w")

[node name="Deathzone" type="Area2D" parent="."]
position = Vector2(383, 283)
collision_layer = 4
collision_mask = 2

[node name="CollisionShape2D" type="CollisionShape2D" parent="Deathzone"]
shape = SubResource("RectangleShape2D_6t4ts")

[node name="RespawnPoint" type="Marker2D" parent="."]
position = Vector2(273, 151)

[node name="Objects" type="Node2D" parent="."]

[node name="JumpPad" parent="Objects" instance=ExtResource("4_4kagi")]
position = Vector2(174, 226)

[node name="JumpPad2" parent="Objects" instance=ExtResource("4_4kagi")]
position = Vector2(203, 226)
JumpPadForce = 325

[node name="Traps" type="Node2D" parent="."]
position = Vector2(-4, -184)

[node name="Saw" parent="Traps" instance=ExtResource("5_52op1")]
position = Vector2(29, 388)

[node name="SpikeBalls" parent="Traps" instance=ExtResource("6_1crvg")]
position = Vector2(104, 392)

[connection signal="body_entered" from="Deathzone" to="." method="_on_deathzone_body_entered"]
[connection signal="touchedPlayer" from="Traps/Saw" to="." method="_on_trap_touched_player"]
[connection signal="touchedPlayer" from="Traps/SpikeBalls" to="." method="_on_trap_touched_player"]
