In this video, I show how Lua, and its wonderful coroutines, can be used to implement maintenance free automated sequences for objects in game worlds, such as moving platforms, cut scenes, tutorials etc. From a wider perspective, it's the start of how to implement your game world and logic in Lua, using C++ to do the tough bits.
Part #1: https://youtu.be/4l5HdmPoynw
Patreon: https://www.patreon.com/javidx9
YouTube: https://www.youtube.com/javidx9
https://www.youtube.com/javidx9extra
Discord: https://discord.gg/WhwHUMV
Twitter: https://www.twitter.com/javidx9
Twitch: https://www.twitch.tv/javidx9
GitHub: https://www.github.com/onelonecoder
Homepage: https://www.onelonecoder.com