fix collision masks and layers for blue and red turtles and goomba
This commit is contained in:
parent
b6a8e5f161
commit
58fbfeae24
@ -28,6 +28,7 @@ extents = Vector2( 6.67969, 7 )
|
|||||||
|
|
||||||
[node name="Goomba" type="KinematicBody2D" groups=["Enemy", "Stompable"]]
|
[node name="Goomba" type="KinematicBody2D" groups=["Enemy", "Stompable"]]
|
||||||
collision_layer = 4
|
collision_layer = 4
|
||||||
|
collision_mask = 5
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
||||||
|
|
||||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||||
|
@ -41,6 +41,7 @@ extents = Vector2( 5.5, 6 )
|
|||||||
|
|
||||||
[node name="BlueTurtle" type="KinematicBody2D"]
|
[node name="BlueTurtle" type="KinematicBody2D"]
|
||||||
collision_layer = 4
|
collision_layer = 4
|
||||||
|
collision_mask = 5
|
||||||
script = ExtResource( 3 )
|
script = ExtResource( 3 )
|
||||||
|
|
||||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||||
|
@ -40,6 +40,8 @@ extents = Vector2( 9.5, 8 )
|
|||||||
extents = Vector2( 5.5, 6 )
|
extents = Vector2( 5.5, 6 )
|
||||||
|
|
||||||
[node name="RedTurtle" type="KinematicBody2D"]
|
[node name="RedTurtle" type="KinematicBody2D"]
|
||||||
|
collision_layer = 4
|
||||||
|
collision_mask = 5
|
||||||
script = ExtResource( 3 )
|
script = ExtResource( 3 )
|
||||||
|
|
||||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||||
|
Loading…
Reference in New Issue
Block a user