Learning SDL2 in 48 Hours - GMTK Game Jam 2020

Опубликовано: 15 Март 2025
на канале: PolyMars
3,147,966
65k

I used the 2020 GMTK Game Jam as an opportunity to try to learn how to use C++ with SDL2, a low level audio, input, and graphics library that you've probably heard of. In 2 days I was able to put together a simple game, and I learned a lot along the way!

Check out Cursor Custodian here: https://polymars.itch.io/cursor-custo...
→ Source code: https://github.com/PolyMarsDev/Cursor...
Twitter:   / polymarsyt  

--Chapters--

0:00 Intro
1:03 Preparations
2:06 First Prototype
3:03 i am addicted
3:20 Prototype Code Explanation
4:15 Player Art and Animations
5:17 Adding Gameplay
7:18 Finishing Up and Submitting
7:29 oops
8:03 Conclusion

--Resources/libraries used--

C++/SDL2 RPG Platformer Tutorial for Beginners Part 1 | Setting up SDL2 on Windows - codergopher
   • C++/SDL2 RPG Platformer Tutorial for ...  

Emscripten - https://emscripten.org/

SDL2 - https://www.libsdl.org/

--Music--

"Wallpaper" - Kevin Macleod (http://incompetech.com)
"Moon Base" - Evan King (   • CLASSIC CHIPTUNE (My Favorite Song I'...  )
"Getting it Done" - Kevin Macleod (http://incompetech.com)
"Biscuits" - Evan King (   • HIGH ENERGY CHIPTUNE ♫ Biscuits  )
"Alpha Channels" - Evan King (   • CHIPTUNE MENU MUSIC ♫ Alpha Channels  )
"Sneaky Snitch" - Kevin Macleod (http://incompetech.com)

--If you liked this video, here are similar ones you might enjoy!--

Vimlark - Making a game in 48 hours! - GMTK Game Jam 2020 (Indie Game Devlog)
   • Making a game in 48 hours! - GMTK Gam...  
KaleChippsDev - Making a [Story] Game in 48 HOURS! | GMTK Game Jam 2020
   • Making a [Story] Game in 48 HOURS! | ...  
BenBonk - The Making of Package Patrick - GMTK Game Jam 2020
   • The Making of Package Patrick - GMTK ...  
Sam Hogan - I Made a Zero Player Game
   • I Made a Zero Player Game  
Randall - Programming a New Physics Engine for my Game
   • Programming a new physics engine for ...  
Dani - I Made a Game in 48 Hours!
   • I Made a Game in 48 Hours!  
Blackthornprod - LUDUM DARE 42 - Making of EVOLUTION
   • LUDUM DARE 42 - Making of EVOLUTION  
Jabrils - 🖥️ Making A Game in 48 Hours!
   • Making A Game in 48 Hours with Strang...