make collectibles always use full hitbox
This commit is contained in:
parent
e4cc684603
commit
ca947c2f09
9 changed files with 26 additions and 17 deletions
|
@ -39,6 +39,8 @@ position = Vector2( 5, 3 )
|
|||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
collision_layer = 0
|
||||
collision_mask = 128
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
position = Vector2( 4.5, 2.5 )
|
||||
|
@ -47,4 +49,4 @@ shape = SubResource( 6 )
|
|||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
anims/glow = SubResource( 8 )
|
||||
|
||||
[connection signal="area_entered" from="Area2D" to="." method="_on_Area2D_area_entered"]
|
||||
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue