who needs fancy cutscene scripting when IEnumerable is like, *right there*

#GameDev

C# can be your scripting language if you try hard enough

by the way this is pretty much exactly how i did all the sequences in super bernie world (end of stage, castle drop, final boss, and death sequences)

i just didn't have the same tidy scaffolding, they were just special cased to run at the right times. but they were just manipulating the game via IEnumerable and yield

anyway if you like this kinda shit check out CoSharp my coroutines library https://github.com/Enichan/CoSharp
GitHub - Enichan/CoSharp: Lua style coroutines for C# with Unity style waiting

Lua style coroutines for C# with Unity style waiting - GitHub - Enichan/CoSharp: Lua style coroutines for C# with Unity style waiting

GitHub