forked from team-sg/hero-mark-2
falling block has a delay before falling
This commit is contained in:
parent
124b5e16aa
commit
c3f32de2df
7 changed files with 216 additions and 40 deletions
|
@ -21,19 +21,20 @@ script = ExtResource( 3 )
|
|||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
material = SubResource( 1 )
|
||||
position = Vector2( 0, -1 )
|
||||
position = Vector2( -1, -1 )
|
||||
texture = ExtResource( 1 )
|
||||
centered = false
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2( 5, 3.5 )
|
||||
position = Vector2( 4, 3.5 )
|
||||
shape = SubResource( 2 )
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." groups=["squash"]]
|
||||
position = Vector2( -1, 0 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
position = Vector2( 5, 3.5 )
|
||||
shape = SubResource( 3 )
|
||||
|
||||
[node name="Bottom" type="Position2D" parent="."]
|
||||
position = Vector2( 5, 8 )
|
||||
position = Vector2( 4, 8 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue