adjusted mine hitbox
This commit is contained in:
parent
ace4a53bd5
commit
fd218d6b13
3 changed files with 158 additions and 27 deletions
|
@ -5,7 +5,7 @@
|
|||
[ext_resource path="res://graphics/enemy/chain.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 8, 8 )
|
||||
extents = Vector2( 7, 7.5 )
|
||||
|
||||
[sub_resource type="Animation" id=2]
|
||||
length = 0.001
|
||||
|
@ -91,6 +91,7 @@ position = Vector2( 8, 8 )
|
|||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
|
||||
position = Vector2( 0, 0.5 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue