forked from team-sg/hero-mark-2
rock put on dynamic objects layer and added ladder layer
This commit is contained in:
parent
e22e2408e3
commit
5f838027ec
3 changed files with 3 additions and 2 deletions
|
@ -9,8 +9,7 @@ extents = Vector2( 6, 4 )
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
|
|
||||||
[node name="Area2D" type="Area2D" parent="."]
|
[node name="Area2D" type="Area2D" parent="."]
|
||||||
collision_layer = 4
|
collision_layer = 64
|
||||||
collision_mask = 4
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||||
position = Vector2( 4, 4 )
|
position = Vector2( 4, 4 )
|
||||||
|
|
|
@ -31,6 +31,7 @@ shape = SubResource( 2 )
|
||||||
|
|
||||||
[node name="Hitbox" type="Area2D" parent="." groups=["squash"]]
|
[node name="Hitbox" type="Area2D" parent="." groups=["squash"]]
|
||||||
position = Vector2( -1, 0 )
|
position = Vector2( -1, 0 )
|
||||||
|
collision_layer = 5
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
|
||||||
position = Vector2( 5, 4 )
|
position = Vector2( 5, 4 )
|
||||||
|
|
|
@ -182,6 +182,7 @@ restart={
|
||||||
2d_physics/layer_4="vision"
|
2d_physics/layer_4="vision"
|
||||||
2d_physics/layer_5="particles"
|
2d_physics/layer_5="particles"
|
||||||
2d_physics/layer_6="death"
|
2d_physics/layer_6="death"
|
||||||
|
2d_physics/layer_7="ladder"
|
||||||
|
|
||||||
[physics]
|
[physics]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue