turning platforms have customizable start delay

This commit is contained in:
pennyrigate 2023-01-25 17:04:22 -05:00
parent 63cf47305b
commit 629bc75fbb
5 changed files with 188 additions and 41 deletions

View file

@ -119,7 +119,11 @@ shape = SubResource( 1 )
anims/idle = SubResource( 2 )
anims/turn = SubResource( 3 )
[node name="Timer" type="Timer" parent="."]
[node name="FlipTimer" type="Timer" parent="."]
[node name="DelayTimer" type="Timer" parent="."]
one_shot = true
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
[connection signal="timeout" from="FlipTimer" to="." method="_on_FlipTimer_timeout"]
[connection signal="timeout" from="DelayTimer" to="." method="_on_DelayTimer_timeout"]