falling block has a delay before falling

This commit is contained in:
pennyrigate 2023-01-15 00:22:04 -05:00
parent 124b5e16aa
commit c3f32de2df
7 changed files with 216 additions and 40 deletions

View file

@ -35,5 +35,11 @@ collision_mask = 2
position = Vector2( 4, -0.5 )
shape = SubResource( 2 )
[node name="Timer" type="Timer" parent="."]
wait_time = 0.15
one_shot = true
[connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"]
[connection signal="area_entered" from="Area2D" to="." method="_on_Area2D_area_entered"]
[connection signal="area_exited" from="Area2D" to="." method="_on_Area2D_area_exited"]
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]