[gd_scene format=3 uid="uid://ch6sfehmsskcs"] [ext_resource type="Script" uid="uid://dtv434qd1rfmu" path="res://scripts/game.gd" id="1_lnu2h"] [ext_resource type="Script" uid="uid://g4wclr5vnxk6" path="res://scripts/trigger.gd" id="1_uwrxv"] [ext_resource type="Script" uid="uid://b5c00ybml8rj" path="res://scripts/scene_manager.gd" id="2_lbhrr"] [ext_resource type="PackedScene" uid="uid://byl4bdrupii3k" path="res://scenes/player.tscn" id="4_iywne"] [ext_resource type="PackedScene" uid="uid://b6cmg0k8qjoxi" path="res://scenes/crate.tscn" id="5_iywne"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_8cj0n"] [sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_iywne"] [sub_resource type="CircleShape2D" id="CircleShape2D_8cj0n"] [node name="Game" type="Node2D" unique_id=981419409] script = ExtResource("1_lnu2h") [node name="SceneManager" type="Node2D" parent="." unique_id=323246552] script = ExtResource("2_lbhrr") [node name="Player" parent="." unique_id=1254268479 instance=ExtResource("4_iywne")] position = Vector2(440.00006, 375.00003) [node name="Crates" type="Node2D" parent="." unique_id=207771395] [node name="Crate" parent="Crates" unique_id=1609374030 instance=ExtResource("5_iywne")] position = Vector2(508, 373) [node name="Crate2" parent="Crates" unique_id=1603366376 instance=ExtResource("5_iywne")] position = Vector2(737, 338) [node name="Walls" type="Node2D" parent="." unique_id=1895909883] [node name="StaticBody2D" type="StaticBody2D" parent="Walls" unique_id=1863997109] position = Vector2(446.00006, 404) scale = Vector2(3.4000025, 1) metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="Walls/StaticBody2D" unique_id=1910670137] shape = SubResource("RectangleShape2D_8cj0n") [node name="StaticBody2D4" type="StaticBody2D" parent="Walls" unique_id=575340316] position = Vector2(516, 404) scale = Vector2(3.4000025, 1) metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="Walls/StaticBody2D4" unique_id=522720352] shape = SubResource("RectangleShape2D_8cj0n") [node name="StaticBody2D3" type="StaticBody2D" parent="Walls" unique_id=2089762008] position = Vector2(734.00006, 377) scale = Vector2(3.4000025, 1) metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="Walls/StaticBody2D3" unique_id=892222577] shape = SubResource("RectangleShape2D_8cj0n") [node name="StaticBody2D2" type="StaticBody2D" parent="Walls" unique_id=2038269484] position = Vector2(681.00006, 398) rotation = -0.7375178 scale = Vector2(3.4000025, 1) metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="Walls/StaticBody2D2" unique_id=1636593491] shape = SubResource("RectangleShape2D_8cj0n") [node name="StaticBody2D5" type="StaticBody2D" parent="Walls" unique_id=1787748242] [node name="CollisionShape2D" type="CollisionShape2D" parent="Walls/StaticBody2D5" unique_id=1244109335] position = Vector2(0, 554) shape = SubResource("WorldBoundaryShape2D_iywne") [node name="Triggers" type="Node2D" parent="." unique_id=193669081] [node name="Trigger" type="Area2D" parent="Triggers" unique_id=1742156972] position = Vector2(621.00006, 465.00006) scale = Vector2(4.2, 4.2) script = ExtResource("1_uwrxv") metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="Triggers/Trigger" unique_id=1581030951] shape = SubResource("CircleShape2D_8cj0n") debug_color = Color(0.3285461, 0.6189337, 0.22834331, 0.41960785) [node name="Trigger2" type="Area2D" parent="Triggers" unique_id=318863481] position = Vector2(853.99994, 453.99997) scale = Vector2(4.2, 4.2) script = ExtResource("1_uwrxv") intent = "fan" metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="Triggers/Trigger2" unique_id=1843060141] shape = SubResource("CircleShape2D_8cj0n") debug_color = Color(0.3285461, 0.6189337, 0.22834331, 0.41960785) [connection signal="areaTriggerSignal" from="Triggers/Trigger" to="." method="_on_trigger"] [connection signal="body_entered" from="Triggers/Trigger" to="Triggers/Trigger" method="_on_body_entered"] [connection signal="areaTriggerSignal" from="Triggers/Trigger2" to="." method="_on_trigger"] [connection signal="body_entered" from="Triggers/Trigger2" to="Triggers/Trigger2" method="_on_body_entered"]