modified collision layers so that the balls stop colliding with one another

This commit is contained in:
2024-07-23 18:38:58 +02:00
parent 6b0843a725
commit 3fea3c89ed
7 changed files with 63 additions and 16 deletions
+18 -16
View File
@@ -56,6 +56,8 @@ horizontal_alignment = 1
[node name="WorldBoundary" type="Area2D" parent="GameContent"]
position = Vector2(1140, 540)
collision_layer = 2
collision_mask = 4
script = ExtResource("3_w4mye")
[node name="Top" parent="GameContent/WorldBoundary" instance=ExtResource("4_455ct")]
@@ -77,82 +79,82 @@ boundary_invert_axis = 0
[node name="Balls" type="Node2D" parent="GameContent"]
[node name="Ball" parent="GameContent/Balls" instance=ExtResource("3_14yi2")]
position = Vector2(687, 534)
position = Vector2(791, 656)
motion_mode = 0
floor_stop_on_slope = true
[node name="Ball2" parent="GameContent/Balls" instance=ExtResource("3_14yi2")]
position = Vector2(971, 920)
position = Vector2(1049, 563)
motion_mode = 0
floor_stop_on_slope = true
[node name="Ball3" parent="GameContent/Balls" instance=ExtResource("3_14yi2")]
position = Vector2(1641, 958)
position = Vector2(1382, 687)
motion_mode = 0
floor_stop_on_slope = true
[node name="Ball4" parent="GameContent/Balls" instance=ExtResource("3_14yi2")]
position = Vector2(482, 986)
position = Vector2(1289, 856)
motion_mode = 0
floor_stop_on_slope = true
[node name="Ball5" parent="GameContent/Balls" instance=ExtResource("3_14yi2")]
position = Vector2(899, 280)
position = Vector2(619, 256)
motion_mode = 0
floor_stop_on_slope = true
[node name="Ball6" parent="GameContent/Balls" instance=ExtResource("3_14yi2")]
position = Vector2(1427, 577)
position = Vector2(663, 857)
motion_mode = 0
floor_stop_on_slope = true
[node name="Ball7" parent="GameContent/Balls" instance=ExtResource("3_14yi2")]
position = Vector2(1330, 823)
position = Vector2(859, 252)
motion_mode = 0
floor_stop_on_slope = true
[node name="Ball8" parent="GameContent/Balls" instance=ExtResource("3_14yi2")]
position = Vector2(1544, 413)
position = Vector2(958, 792)
motion_mode = 0
floor_stop_on_slope = true
[node name="Ball9" parent="GameContent/Balls" instance=ExtResource("3_14yi2")]
position = Vector2(1646, 179)
position = Vector2(1418, 412)
motion_mode = 0
floor_stop_on_slope = true
[node name="Ball10" parent="GameContent/Balls" instance=ExtResource("3_14yi2")]
position = Vector2(1666, 660)
position = Vector2(1677, 692)
motion_mode = 0
floor_stop_on_slope = true
[node name="Ball11" parent="GameContent/Balls" instance=ExtResource("3_14yi2")]
position = Vector2(516, 671)
position = Vector2(1610, 877)
motion_mode = 0
floor_stop_on_slope = true
[node name="Ball12" parent="GameContent/Balls" instance=ExtResource("3_14yi2")]
position = Vector2(553, 174)
position = Vector2(1394, 185)
motion_mode = 0
floor_stop_on_slope = true
[node name="Ball13" parent="GameContent/Balls" instance=ExtResource("3_14yi2")]
position = Vector2(1303, 479)
position = Vector2(1285, 546)
motion_mode = 0
floor_stop_on_slope = true
[node name="Ball14" parent="GameContent/Balls" instance=ExtResource("3_14yi2")]
position = Vector2(943, 726)
position = Vector2(1078, 172)
motion_mode = 0
floor_stop_on_slope = true
[node name="Ball15" parent="GameContent/Balls" instance=ExtResource("3_14yi2")]
position = Vector2(1363, 282)
position = Vector2(1562, 537)
motion_mode = 0
floor_stop_on_slope = true
[node name="Ball16" parent="GameContent/Balls" instance=ExtResource("3_14yi2")]
position = Vector2(1135, 158)
position = Vector2(1507, 299)
motion_mode = 0
floor_stop_on_slope = true