Source code and assets for the TwinklebearDev SDL 2.0 Lessons
- A simple program to make sure you've set up SDL correctly
- The standard Hello World program, for SDL 2.0
- An introduction to creating some functions to help us with writing better and reusable code.
- An introduction to the various extension libraries that are available for SDL in this lesson we cover usage of SDL_image to load non-BMP images
- An introduction to using SDL's event system to get user input from the window, mouse and keyboard
- An introduction to selecting specific subsets of an image sheet, ie. sprite sheet, that we want to draw
- An introduction to using the SDL_ttf extension library to render true type fonts
- An introduction to creating an easy to use Window class to manage the SDL_Window and SDL_Renderer
- An introduction to using timers in SDL, through the creation and usage of a Timer class