[][src]Module macroquad::coroutines

The way to emulate multitasking with macroquad's .await. Usefull for organizing state machines, animation cutscenes and other stuff that require some evaluation over time.

Unfortunately right now it is only partially safe. Functions that may violate rust safety guarantees are markes as unsafe though. Use them with extra care, additional contracts not checked by the type system are specified in each of those function documentation.

Modules

tweens

Special built-in coroutines for modifying values over time.

Structs

Coroutine
TimerDelayFuture

Functions

start_coroutine
stop_all_coroutines
stop_coroutine
wait_seconds