Closed willnationsdev closed 5 years ago
Implement a sleep utility in GDScript by making the parser convert sleep 100 to yield(get_tree().create_timer(100), "timeout").
sleep
sleep 100
yield(get_tree().create_timer(100), "timeout")
The implementation I had envisioned was actually an incomplete solution to this problem, so I have no intention of continuing to try and add this feature (other priorities).
Implement a
sleep
utility in GDScript by making the parser convertsleep 100
toyield(get_tree().create_timer(100), "timeout")
.