[gd_scene load_steps=8 format=3 uid="uid://cmk6ierwi7sdt"] [ext_resource type="Script" path="res://Scripts/Managers/WallCollisionManager.cs" id="1_we5my"] [sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_f7jy5"] size = Vector2(30, 1) [sub_resource type="RectangleShape2D" id="RectangleShape2D_1mqst"] size = Vector2(30, 1) [sub_resource type="RectangleShape2D" id="RectangleShape2D_sip7s"] size = Vector2(30, 1) [sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_868ov"] size = Vector2(1, 30) [sub_resource type="RectangleShape2D" id="RectangleShape2D_rw4mt"] size = Vector2(1, 30) [sub_resource type="RectangleShape2D" id="RectangleShape2D_dydpt"] size = Vector2(1, 30) [node name="Walls" type="Node2D"] [node name="Left" type="Area2D" parent="."] position = Vector2(-393, -2) scale = Vector2(1, 600) script = ExtResource("1_we5my") PlayerNumber = 1 [node name="Left" type="Sprite2D" parent="Left"] position = Vector2(2.08165e-12, 2.08165e-12) texture = SubResource("PlaceholderTexture2D_f7jy5") [node name="CollisionShape2D" type="CollisionShape2D" parent="Left"] position = Vector2(-2.04636e-12, -2.08167e-12) shape = SubResource("RectangleShape2D_1mqst") [node name="Right" type="Area2D" parent="."] position = Vector2(393, -2) scale = Vector2(1, 600) script = ExtResource("1_we5my") [node name="Right" type="Sprite2D" parent="Right"] position = Vector2(2.08165e-12, 2.08165e-12) texture = SubResource("PlaceholderTexture2D_f7jy5") [node name="CollisionShape2D" type="CollisionShape2D" parent="Right"] position = Vector2(-2.10321e-12, -2.08167e-12) shape = SubResource("RectangleShape2D_sip7s") [node name="Top" type="StaticBody2D" parent="."] position = Vector2(2.08165e-12, -287) scale = Vector2(756, 1) collision_layer = 2 collision_mask = 2 [node name="Top" type="Sprite2D" parent="Top"] position = Vector2(2.08165e-12, 2.08165e-12) texture = SubResource("PlaceholderTexture2D_868ov") [node name="CollisionShape2D" type="CollisionShape2D" parent="Top"] position = Vector2(-2.08165e-12, 0) shape = SubResource("RectangleShape2D_rw4mt") [node name="Bottom" type="StaticBody2D" parent="."] position = Vector2(2.08165e-12, 283) scale = Vector2(756, 1) collision_layer = 2 collision_mask = 2 [node name="Bottom" type="Sprite2D" parent="Bottom"] position = Vector2(2.08165e-12, 2.08165e-12) texture = SubResource("PlaceholderTexture2D_868ov") [node name="CollisionShape2D" type="CollisionShape2D" parent="Bottom"] position = Vector2(-2.08165e-12, 0) shape = SubResource("RectangleShape2D_dydpt") [connection signal="body_entered" from="Left" to="Left" method="OnBodyEntered"] [connection signal="body_entered" from="Right" to="Right" method="OnBodyEntered"]