add falling block

This commit is contained in:
pennyrigate 2023-01-13 14:52:47 -05:00
parent d6547b61d4
commit 54f0880864
20 changed files with 153 additions and 26 deletions

View file

@ -54,11 +54,11 @@ position = Vector2( 0, 1 )
[node name="WallCast" type="RayCast2D" parent="Raycasts" index="0"]
position = Vector2( -7, 7 )
enabled = true
cast_to = Vector2( 0, -11 )
cast_to = Vector2( 0, -10 )
[node name="FloorCast" type="RayCast2D" parent="Raycasts" index="1"]
position = Vector2( -7, 8 )
enabled = true
cast_to = Vector2( 11, 0 )
cast_to = Vector2( 10, 0 )
[connection signal="area_entered" from="Hitbox" to="." method="_on_Area2D_area_entered"]