make collectibles always use full hitbox

This commit is contained in:
Haze Weathers 2023-05-16 22:58:14 -04:00
parent e4cc684603
commit ca947c2f09
9 changed files with 26 additions and 17 deletions

View file

@ -23,9 +23,11 @@ texture = ExtResource( 3 )
[node name="Area2D" type="Area2D" parent="."]
visible = false
collision_layer = 0
collision_mask = 128
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2( 4, 4 )
shape = SubResource( 6 )
[connection signal="area_entered" from="Area2D" to="." method="_on_Area2D_area_entered"]
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]