SDL2 Multiple Animations at the Same Time - EASIER than you Think
Handmade Games
How to create and coordinate multiple animations at the same time using SDL2 and the Odin programming language.
I reached this point because I needed a way to handle various transitions across game states:
- Home Screen to Game Play
- Game Play to Reset after Death
I needed to coordinate the separate processes of creating a fade out / fade in effect and rendering the player and drones.
Overall, I'm pretty happy with where things are right now. I think the transitions look good, and they are easy to tinker with if I want to adjust things later on.
#gamedev #sdl2 #odinlang #learntocode #codenewbie ... https://www.youtube.com/watch?v=hhjlcmn9Zks
2023-01-14
0.0 LBC
Copyrighted (contact publisher)
87783109 Bytes