[gd_scene load_steps=9 format=3 uid="uid://cwuxdg5c8ylmp"] [ext_resource type="Script" uid="uid://cw3ucen7ivcu3" path="res://scripts/gamecontroller.gd" id="1_wj22x"] [ext_resource type="Script" uid="uid://bus3b1g717jlm" path="res://scripts/scene_manager.gd" id="2_lbhrr"] [ext_resource type="PackedScene" uid="uid://cgk1d1f5ffbbd" path="res://scenes/player.tscn" id="2_lnu2h"] [ext_resource type="PackedScene" uid="uid://clf5mhteceas4" path="res://scenes/trigger.tscn" id="3_jlag1"] [ext_resource type="PackedScene" uid="uid://cym46ub26gs80" path="res://scenes/crate.tscn" id="4_iywne"] [ext_resource type="PackedScene" uid="uid://c633ux67ehud7" path="res://scenes/bullet.tscn" id="6_p57ef"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_um86g"] size = Vector2(55.5, 41) [sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_16wxc"] [node name="Game" type="Node2D"] script = ExtResource("1_wj22x") [node name="SceneManager" type="Node" parent="."] unique_name_in_owner = true script = ExtResource("2_lbhrr") [node name="CharacterBody2D" parent="." instance=ExtResource("2_lnu2h")] position = Vector2(471, 287) [node name="level" type="Node2D" parent="."] [node name="StaticBody2D" type="StaticBody2D" parent="level"] position = Vector2(461, 335) metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="level/StaticBody2D"] position = Vector2(-0.75, 10.5) shape = SubResource("RectangleShape2D_um86g") [node name="StaticBody2D2" type="StaticBody2D" parent="level"] position = Vector2(520, 335) metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="level/StaticBody2D2"] position = Vector2(-0.75, 10.5) shape = SubResource("RectangleShape2D_um86g") [node name="StaticBody2D3" type="StaticBody2D" parent="level"] position = Vector2(586, 271) metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="level/StaticBody2D3"] position = Vector2(-0.75, 10.5) shape = SubResource("RectangleShape2D_um86g") [node name="Floor" type="StaticBody2D" parent="level"] [node name="CollisionShape2D" type="CollisionShape2D" parent="level/Floor"] position = Vector2(473, 428) shape = SubResource("WorldBoundaryShape2D_16wxc") [node name="crates" type="Node2D" parent="."] [node name="RigidBody2D" parent="crates" instance=ExtResource("4_iywne")] position = Vector2(407, 407) [node name="RigidBody2D2" parent="crates" instance=ExtResource("4_iywne")] position = Vector2(508, 303) [node name="RigidBody2D3" parent="crates" instance=ExtResource("4_iywne")] position = Vector2(576, 221) [node name="RigidBody2D4" parent="crates" instance=ExtResource("4_iywne")] position = Vector2(403, 324) [node name="RigidBody2D5" parent="crates" instance=ExtResource("4_iywne")] position = Vector2(357, 331) [node name="Trigger" parent="." instance=ExtResource("3_jlag1")] position = Vector2(189, 316) [node name="Trigger2" parent="." instance=ExtResource("3_jlag1")] position = Vector2(638, 390) effect = "teleport" [node name="Area2D" parent="." instance=ExtResource("6_p57ef")] position = Vector2(366, 300) [connection signal="triggerFired" from="Trigger" to="." method="_on_trigger_fired"] [connection signal="triggerFired" from="Trigger2" to="." method="_on_trigger_fired"]