set up groups in jumping spider
This commit is contained in:
parent
3c11da0b57
commit
a85b68a317
1 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ tracks/2/keys = {
|
|||
[sub_resource type="RectangleShape2D" id=3]
|
||||
extents = Vector2( 4.5, 4 )
|
||||
|
||||
[node name="JumpingSpider" type="Node2D"]
|
||||
[node name="JumpingSpider" type="Node2D" groups=["enemy"]]
|
||||
position = Vector2( 0, -4 )
|
||||
script = ExtResource( 2 )
|
||||
|
||||
|
@ -102,7 +102,7 @@ region_rect = Rect2( 0, 0, 13, 12 )
|
|||
anims/idle = SubResource( 1 )
|
||||
anims/jump = SubResource( 2 )
|
||||
|
||||
[node name="Hitbox" type="Area2D" parent="."]
|
||||
[node name="Hitbox" type="Area2D" parent="." groups=["enemy_hitbox"]]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
|
||||
position = Vector2( 3.5, 4 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue