Coroutine (Lua)
Want to spice up your game with animated scene between bouts of gameplay? Cutscenes are uncommon on small platforms like PICO-8. There’s no room for full motion video, so a scene must be described in code or with some kind of cutscene engine. This is made much easier with a Lua feature added in PICO-8 v0.1.6: coroutines. - CutscenesAndCoroutines / Coroutines
- RPG Dialogue Scripting Demo - showcase use of coroutines to create animations and dialogue.
- Iris Effect Coroutine
see also
Written on October 28, 2023, Last update on October 28, 2023
lua
coroutine
pico8