forked from team-sg/hero-mark-2
laser wall collision layers changed so the pigs would not stop lasers
This commit is contained in:
parent
a8e187a150
commit
57d1e6317a
2 changed files with 3 additions and 2 deletions
|
@ -83,7 +83,7 @@ right_boundary = 1.0
|
||||||
turn_time = inf
|
turn_time = inf
|
||||||
|
|
||||||
[node name="Cop4" parent="Enemies" instance=ExtResource( 10 )]
|
[node name="Cop4" parent="Enemies" instance=ExtResource( 10 )]
|
||||||
position = Vector2( 608, 72 )
|
position = Vector2( 600, 120 )
|
||||||
scale = Vector2( -1, 1 )
|
scale = Vector2( -1, 1 )
|
||||||
left_boundary = 3.0
|
left_boundary = 3.0
|
||||||
right_boundary = 3.0
|
right_boundary = 3.0
|
||||||
|
@ -103,7 +103,7 @@ speed = 50
|
||||||
[node name="LaserWall2" parent="Enemies" instance=ExtResource( 15 )]
|
[node name="LaserWall2" parent="Enemies" instance=ExtResource( 15 )]
|
||||||
position = Vector2( 760, 88 )
|
position = Vector2( 760, 88 )
|
||||||
rotation = 1.5708
|
rotation = 1.5708
|
||||||
left_up_boundary = 2.0
|
left_up_boundary = 3.0
|
||||||
speed = 50
|
speed = 50
|
||||||
move_direction = 1
|
move_direction = 1
|
||||||
on_time = inf
|
on_time = inf
|
||||||
|
|
|
@ -33,6 +33,7 @@ default_color = Color( 0.960784, 0.2, 0.258824, 1 )
|
||||||
[node name="RayCast2D" type="RayCast2D" parent="."]
|
[node name="RayCast2D" type="RayCast2D" parent="."]
|
||||||
position = Vector2( 4, 2 )
|
position = Vector2( 4, 2 )
|
||||||
cast_to = Vector2( 0, 256 )
|
cast_to = Vector2( 0, 256 )
|
||||||
|
collision_mask = 10
|
||||||
collide_with_areas = true
|
collide_with_areas = true
|
||||||
|
|
||||||
[node name="Timer" type="Timer" parent="."]
|
[node name="Timer" type="Timer" parent="."]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue