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

[ext_resource type="Script" uid="uid://bc25u4w35ibeu" path="res://Scripts/gameController.gd" id="1_qxrlw"]
[ext_resource type="PackedScene" uid="uid://bsroh4vsjwblh" path="res://Scenes/crate.tscn" id="2_3dryh"]
[ext_resource type="Script" uid="uid://b2otvelhtq7en" path="res://Scripts/SceneManager.gd" id="2_wowpa"]
[ext_resource type="PackedScene" uid="uid://dmk1mp1hqm62b" path="res://Scenes/player.tscn" id="3_wowpa"]
[ext_resource type="Script" uid="uid://4hekg0d8n04f" path="res://Scripts/trigger.gd" id="3_wrm1d"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_2poj3"]
size = Vector2(178, 20)

[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_2poj3"]

[sub_resource type="CircleShape2D" id="CircleShape2D_3dryh"]
radius = 111.364265

[node name="Game" type="Node2D" unique_id=1698001017]
script = ExtResource("1_qxrlw")

[node name="SceneManager" type="Node2D" parent="." unique_id=782186168]
unique_name_in_owner = true
script = ExtResource("2_wowpa")

[node name="platform" type="StaticBody2D" parent="." unique_id=601020872]
position = Vector2(333, 419)
constant_linear_velocity = Vector2(1000, 0)
metadata/_edit_group_ = true

[node name="CollisionShape2D" type="CollisionShape2D" parent="platform" unique_id=1836025932]
position = Vector2(3, 0)
shape = SubResource("RectangleShape2D_2poj3")

[node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=1600506296]
position = Vector2(448, 452)
metadata/_edit_group_ = true

[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D" unique_id=1926005878]
shape = SubResource("WorldBoundaryShape2D_2poj3")

[node name="Player" parent="." unique_id=56223176 instance=ExtResource("3_wowpa")]
position = Vector2(150, 303)

[node name="Area2D" type="Area2D" parent="." unique_id=1184709580]
position = Vector2(873, 340)
script = ExtResource("3_wrm1d")
metadata/_edit_group_ = true

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1623965811]
shape = SubResource("CircleShape2D_3dryh")
debug_color = Color(0.7716697, 0.28327075, 0.8513461, 0.41960785)

[node name="StaticBody2D2" type="StaticBody2D" parent="." unique_id=938313164]
position = Vector2(392, 392)
constant_linear_velocity = Vector2(10000, -5000)

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="StaticBody2D2" unique_id=435374624]
polygon = PackedVector2Array(-67, 16, 32, 16, 32, -31)

[node name="Crates" type="Node2D" parent="." unique_id=982841392]

[node name="Crate" parent="Crates" unique_id=1164994368 instance=ExtResource("2_3dryh")]
position = Vector2(509, 306)

[node name="Crate2" parent="Crates" unique_id=48210404 instance=ExtResource("2_3dryh")]
position = Vector2(576, 300)

[node name="Crate3" parent="Crates" unique_id=1549223941 instance=ExtResource("2_3dryh")]
position = Vector2(560, 342)

[node name="Crate4" parent="Crates" unique_id=747898837 instance=ExtResource("2_3dryh")]
position = Vector2(511, 365)

[node name="Crate5" parent="Crates" unique_id=1833569865 instance=ExtResource("2_3dryh")]
position = Vector2(469, 242)

[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]
[connection signal="triggerActiveSignal" from="Area2D" to="." method="_on_triggerSignal"]
