laser wall collision layers changed so the pigs would not stop lasers

This commit is contained in:
pennyrigate 2023-03-25 00:46:34 -04:00
parent a8e187a150
commit 57d1e6317a
2 changed files with 3 additions and 2 deletions

View file

@ -83,7 +83,7 @@ right_boundary = 1.0
turn_time = inf
[node name="Cop4" parent="Enemies" instance=ExtResource( 10 )]
position = Vector2( 608, 72 )
position = Vector2( 600, 120 )
scale = Vector2( -1, 1 )
left_boundary = 3.0
right_boundary = 3.0
@ -103,7 +103,7 @@ speed = 50
[node name="LaserWall2" parent="Enemies" instance=ExtResource( 15 )]
position = Vector2( 760, 88 )
rotation = 1.5708
left_up_boundary = 2.0
left_up_boundary = 3.0
speed = 50
move_direction = 1
on_time = inf

View file

@ -33,6 +33,7 @@ default_color = Color( 0.960784, 0.2, 0.258824, 1 )
[node name="RayCast2D" type="RayCast2D" parent="."]
position = Vector2( 4, 2 )
cast_to = Vector2( 0, 256 )
collision_mask = 10
collide_with_areas = true
[node name="Timer" type="Timer" parent="."]