Solarus-Games English Forum

Solarus => Development => Topic started by: gzuk on November 06, 2022, 11:48:09 AM

Title: Are there any examples for the new cutscene coroutine_helper?
Post by: gzuk on November 06, 2022, 11:48:09 AM
Hello, I read on the forums that you could use the new module coroutine_helper.lua to build cutscenes, to avoid endlessly nested callbacks.

However, I couldn't get it to work. I could only get one-time events to work, like playing a sound. I couldn't get the "only if game available" features to work, probably because I didn't make the game available in the right way.

Is there perhaps a working coroutine_helper game or example available, that uses the more complicated "only if game available" features, like dialogue, or characters moving around?

Many thanks for an answer!  :)