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

@ -54,15 +54,17 @@ script = ExtResource( 3 )
material = SubResource( 10 )
position = Vector2( -1, -3 )
frames = SubResource( 8 )
frame = 2
frame = 3
playing = true
centered = false
[node name="Area2D" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 128
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
visible = false
position = Vector2( 4, 4 )
shape = SubResource( 9 )
[connection signal="area_entered" from="Area2D" to="." method="_on_Area2D_area_entered"]
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]