2023-05-22 17:41:56 +00:00
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://cmk6ierwi7sdt"]
|
2023-05-18 17:38:22 +00:00
|
|
|
|
2023-05-22 02:41:48 +00:00
|
|
|
[ext_resource type="Script" path="res://Scripts/Managers/WallCollisionManager.cs" id="1_we5my"]
|
2023-05-17 06:15:31 +00:00
|
|
|
|
|
|
|
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_f7jy5"]
|
2023-05-20 02:42:56 +00:00
|
|
|
size = Vector2(30, 1)
|
2023-05-17 06:15:31 +00:00
|
|
|
|
2023-05-18 17:38:22 +00:00
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1mqst"]
|
2023-05-20 02:42:56 +00:00
|
|
|
size = Vector2(30, 1)
|
2023-05-18 17:38:22 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_sip7s"]
|
2023-05-20 02:42:56 +00:00
|
|
|
size = Vector2(30, 1)
|
2023-05-18 17:38:22 +00:00
|
|
|
|
2023-05-17 06:15:31 +00:00
|
|
|
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_868ov"]
|
2023-05-20 02:42:56 +00:00
|
|
|
size = Vector2(1, 30)
|
2023-05-17 06:15:31 +00:00
|
|
|
|
2023-05-18 17:38:22 +00:00
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rw4mt"]
|
2023-05-20 02:42:56 +00:00
|
|
|
size = Vector2(1, 30)
|
2023-05-18 17:38:22 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dydpt"]
|
2023-05-20 02:42:56 +00:00
|
|
|
size = Vector2(1, 30)
|
2023-05-17 06:15:31 +00:00
|
|
|
|
|
|
|
[node name="Walls" type="Node2D"]
|
|
|
|
|
2023-05-18 17:38:22 +00:00
|
|
|
[node name="Left" type="Area2D" parent="."]
|
2023-05-17 06:15:31 +00:00
|
|
|
position = Vector2(-393, -2)
|
2023-05-20 02:42:56 +00:00
|
|
|
scale = Vector2(1, 600)
|
2023-05-22 02:41:48 +00:00
|
|
|
script = ExtResource("1_we5my")
|
2023-05-20 02:42:56 +00:00
|
|
|
PlayerNumber = 1
|
2023-05-18 17:38:22 +00:00
|
|
|
|
|
|
|
[node name="Left" type="Sprite2D" parent="Left"]
|
|
|
|
position = Vector2(2.08165e-12, 2.08165e-12)
|
2023-05-17 06:15:31 +00:00
|
|
|
texture = SubResource("PlaceholderTexture2D_f7jy5")
|
|
|
|
|
2023-05-18 17:38:22 +00:00
|
|
|
[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="."]
|
2023-05-17 06:15:31 +00:00
|
|
|
position = Vector2(393, -2)
|
2023-05-20 02:42:56 +00:00
|
|
|
scale = Vector2(1, 600)
|
2023-05-22 02:41:48 +00:00
|
|
|
script = ExtResource("1_we5my")
|
2023-05-18 17:38:22 +00:00
|
|
|
|
|
|
|
[node name="Right" type="Sprite2D" parent="Right"]
|
|
|
|
position = Vector2(2.08165e-12, 2.08165e-12)
|
2023-05-17 06:15:31 +00:00
|
|
|
texture = SubResource("PlaceholderTexture2D_f7jy5")
|
|
|
|
|
2023-05-18 17:38:22 +00:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Right"]
|
|
|
|
position = Vector2(-2.10321e-12, -2.08167e-12)
|
|
|
|
shape = SubResource("RectangleShape2D_sip7s")
|
2023-05-17 06:15:31 +00:00
|
|
|
|
2023-05-18 17:38:22 +00:00
|
|
|
[node name="Top" type="StaticBody2D" parent="."]
|
|
|
|
position = Vector2(2.08165e-12, -287)
|
2023-05-20 02:42:56 +00:00
|
|
|
scale = Vector2(756, 1)
|
2023-05-19 07:18:38 +00:00
|
|
|
collision_layer = 2
|
|
|
|
collision_mask = 2
|
2023-05-18 17:38:22 +00:00
|
|
|
|
|
|
|
[node name="Top" type="Sprite2D" parent="Top"]
|
|
|
|
position = Vector2(2.08165e-12, 2.08165e-12)
|
2023-05-17 06:15:31 +00:00
|
|
|
texture = SubResource("PlaceholderTexture2D_868ov")
|
|
|
|
|
2023-05-18 17:38:22 +00:00
|
|
|
[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)
|
2023-05-20 02:42:56 +00:00
|
|
|
scale = Vector2(756, 1)
|
2023-05-19 07:18:38 +00:00
|
|
|
collision_layer = 2
|
|
|
|
collision_mask = 2
|
2023-05-18 17:38:22 +00:00
|
|
|
|
|
|
|
[node name="Bottom" type="Sprite2D" parent="Bottom"]
|
|
|
|
position = Vector2(2.08165e-12, 2.08165e-12)
|
|
|
|
texture = SubResource("PlaceholderTexture2D_868ov")
|
2023-05-17 06:15:31 +00:00
|
|
|
|
2023-05-18 17:38:22 +00:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Bottom"]
|
|
|
|
position = Vector2(-2.08165e-12, 0)
|
|
|
|
shape = SubResource("RectangleShape2D_dydpt")
|
2023-05-20 02:42:56 +00:00
|
|
|
|
|
|
|
[connection signal="body_entered" from="Left" to="Left" method="OnBodyEntered"]
|
|
|
|
[connection signal="body_entered" from="Right" to="Right" method="OnBodyEntered"]
|