Creating a Scene Manager for the Playdate

https://www.youtube.com/watc...
Want to create different scenes in your Playdate game and make transitions between them? In this video, I show you how to set a scene manager using Lua for the Playdate SDK. Check out my new book "The Beginner's Guide to Lua for Game Development" and learn how to code using Lua! https://squidgod.itch.io/lua-for-game-development Scene management code: https://github.com/SquidGodDev/Playdate-Scene-Management Roomy Playdate: https://github.com/RobertCurry0216/roomy-playdate Noble Engine: https://github.com/NobleRobot/NobleEngine Cotton: https://github.com/unbelievableflavour/Cotton Support me on Patreon and get all my games and their source code!: https://www.patreon.com/squidgoddev Join my Discord!: https://discord.gg/kDM8RU4aFt Follow me on Twitter!: https://twitter.com/SquidGodDev Timestamps: 0:00 - Intro 1:09 - Simple scene management 2:00 - More advanced scenes 2:58 - Creating example scenes 4:32 - Creating a scene manager 6:42 - Using the scene manager 7:21 - Passing data between scenes 8:06 - Creating a wipe transition 10:59 - Disabling scene transitions during an active transition 11:32 - Create a wipe transition with an image 11:44 - Creating a fade transition 12:44 - Improving fade transition performance 13:22 - Drawbacks of this scene management approach 14:40 - Alternative #1 14:55 - Alternative #2 15:10 - Alternative #3 #Playdate #PlaydateSDK #PlaydateConsole