more work on canopy
This commit is contained in:
parent
26fe0173e4
commit
63cf47305b
2 changed files with 161 additions and 7 deletions
163
maps/canopy.tscn
163
maps/canopy.tscn
File diff suppressed because one or more lines are too long
|
@ -93,17 +93,16 @@ position = Vector2( 0, -4 )
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
||||||
|
|
||||||
[node name="Sprite" type="Sprite" parent="."]
|
[node name="Sprite" type="Sprite" parent="."]
|
||||||
position = Vector2( 4, -2 )
|
position = Vector2( 4, 2 )
|
||||||
texture = ExtResource( 1 )
|
texture = ExtResource( 1 )
|
||||||
region_enabled = true
|
region_enabled = true
|
||||||
region_rect = Rect2( 13, 0, 13, 12 )
|
region_rect = Rect2( 0, 0, 13, 12 )
|
||||||
|
|
||||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||||
anims/idle = SubResource( 1 )
|
anims/idle = SubResource( 1 )
|
||||||
anims/jump = SubResource( 2 )
|
anims/jump = SubResource( 2 )
|
||||||
|
|
||||||
[node name="Hitbox" type="Area2D" parent="." groups=["enemy_hitbox"]]
|
[node name="Hitbox" type="Area2D" parent="." groups=["enemy_hitbox"]]
|
||||||
position = Vector2( 0, -4 )
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
|
||||||
position = Vector2( 3.5, 4 )
|
position = Vector2( 3.5, 4 )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue