fix collision masks and layers for blue and red turtles and goomba

This commit is contained in:
Chris Cromer 2022-11-21 02:36:45 -03:00
parent b6a8e5f161
commit 58fbfeae24
3 changed files with 4 additions and 0 deletions

View File

@ -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="."]

View File

@ -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="."]

View File

@ -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="."]