Added appropriate groups and checked for hitbox-likeness

This commit is contained in:
Paul Norberger
2020-04-20 01:12:15 +02:00
parent 61dcd42dc6
commit 0daf9090eb
4 changed files with 23 additions and 14 deletions

View File

@@ -623,7 +623,10 @@ height = 6.99104
size = 12
font_data = ExtResource( 6 )
[node name="Player" type="KinematicBody2D"]
[node name="Player" type="KinematicBody2D" groups=[
"hero",
]]
collision_mask = 10
script = ExtResource( 1 )
FRICTION = 270
@@ -637,7 +640,7 @@ scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 2 )
offset = Vector2( 0, -18 )
hframes = 60
frame = 9
frame = 12
[node name="Body" type="CollisionShape2D" parent="."]
position = Vector2( 0.0107212, 0.0456073 )