forked from team-sg/hero-mark-2
make collectibles always use full hitbox
This commit is contained in:
parent
e4cc684603
commit
ca947c2f09
9 changed files with 26 additions and 17 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue