[gd_scene load_steps=13 format=3 uid="uid://r8jj43l4t6is"] [ext_resource type="Script" path="res://scripts/gamecontroller.gd" id="1_8i1rq"] [ext_resource type="PackedScene" uid="uid://di3tq4f0xmdqc" path="res://scenes/crate.tscn" id="1_tfj4n"] [ext_resource type="Script" path="res://scripts/trigger.gd" id="3_hm0br"] [ext_resource type="PackedScene" uid="uid://dcbk086hhrn7y" path="res://scenes/player.tscn" id="3_oy8j2"] [ext_resource type="PackedScene" uid="uid://ckc5gbyie17tm" path="res://scenes/bullet.tscn" id="5_omx4l"] [ext_resource type="Script" path="res://scripts/scene_manager.gd" id="6_1kka5"] [ext_resource type="Texture2D" uid="uid://dcx8qbotrbgpp" path="res://assets/graphics/terrains/Terrain (32x32).png" id="7_sjwp0"] [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_pgbim"] texture = ExtResource("7_sjwp0") texture_region_size = Vector2i(32, 32) 0:0/0 = 0 1:0/0 = 0 2:0/0 = 0 4:0/0 = 0 6:0/0 = 0 7:0/0 = 0 9:0/0 = 0 10:0/0 = 0 12:0/0 = 0 13:0/0 = 0 15:0/0 = 0 0:1/0 = 0 1:1/0 = 0 2:1/0 = 0 4:1/0 = 0 6:1/0 = 0 7:1/0 = 0 9:1/0 = 0 10:1/0 = 0 12:1/0 = 0 13:1/0 = 0 15:1/0 = 0 16:1/0 = 0 0:2/0 = 0 1:2/0 = 0 2:2/0 = 0 4:2/0 = 0 6:3/0 = 0 7:3/0 = 0 9:3/0 = 0 10:3/0 = 0 12:3/0 = 0 13:3/0 = 0 15:3/0 = 0 16:3/0 = 0 0:4/0 = 0 1:4/0 = 0 2:4/0 = 0 4:4/0 = 0 6:4/0 = 0 7:4/0 = 0 9:4/0 = 0 10:4/0 = 0 12:4/0 = 0 13:4/0 = 0 15:4/0 = 0 16:4/0 = 0 [sub_resource type="TileSet" id="TileSet_4ifc1"] tile_size = Vector2i(32, 32) sources/0 = SubResource("TileSetAtlasSource_pgbim") [sub_resource type="RectangleShape2D" id="RectangleShape2D_jk5qv"] size = Vector2(66, 20) [sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_acecj"] distance = -430.0 [sub_resource type="CircleShape2D" id="CircleShape2D_8j7te"] radius = 29.0 [node name="Game" type="Node2D"] script = ExtResource("1_8i1rq") [node name="SceneManager" type="Node" parent="."] unique_name_in_owner = true script = ExtResource("6_1kka5") [node name="TileMapLayer" type="TileMapLayer" parent="."] tile_map_data = PackedByteArray(0, 0, 7, 0, 14, 0, 0, 0, 1, 0, 4, 0, 0, 0, 6, 0, 14, 0, 0, 0, 0, 0, 4, 0, 0, 0, 8, 0, 14, 0, 0, 0, 1, 0, 4, 0, 0, 0, 9, 0, 14, 0, 0, 0, 2, 0, 4, 0, 0, 0) tile_set = SubResource("TileSet_4ifc1") [node name="StaticBody2D" type="StaticBody2D" parent="."] position = Vector2(252, 459) scale = Vector2(1.76, 1) metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] shape = SubResource("RectangleShape2D_jk5qv") [node name="floor" type="StaticBody2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="floor"] position = Vector2(3, 46) shape = SubResource("WorldBoundaryShape2D_acecj") [node name="CharacterBody2D" parent="." instance=ExtResource("3_oy8j2")] position = Vector2(236, 403) [node name="Area2D" type="Area2D" parent="."] position = Vector2(597, 419) script = ExtResource("3_hm0br") metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] shape = SubResource("CircleShape2D_8j7te") debug_color = Color(0.827271, 0.252084, 0.761388, 0.42) [node name="Area2D2" parent="." instance=ExtResource("5_omx4l")] position = Vector2(178, 316) [node name="crates" type="Node2D" parent="."] [node name="RigidBody2D" parent="crates" instance=ExtResource("1_tfj4n")] position = Vector2(291, 405) rotation = 2.0228 [node name="RigidBody2D2" parent="crates" instance=ExtResource("1_tfj4n")] position = Vector2(509, 216) [node name="RigidBody2D3" parent="crates" instance=ExtResource("1_tfj4n")] position = Vector2(576, 241) rotation = -1.0315 [node name="RigidBody2D4" parent="crates" instance=ExtResource("1_tfj4n")] position = Vector2(540, 178) rotation = 0.0531393 [connection signal="areaTrigger" from="Area2D" to="." method="_on_trigger"] [connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]