Skip to content

haklabo/TwinklebearDev-Lessons

 
 

Repository files navigation

TwinklebearDev-Lessons

Source code and assets for the TwinklebearDev SDL 2.0 Lessons

Lesson Index:

Lesson 0: Setting up SDL:

  • A simple program to make sure you've set up SDL correctly

Lesson 1: Hello World:

  • The standard Hello World program, for SDL 2.0

Lesson 2: Don't Put Everything in Main

  • An introduction to creating some functions to help us with writing better and reusable code.

Lesson 3: SDL Extension Libraries

  • 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

Lesson 4: Event Driven Programming

  • An introduction to using SDL's event system to get user input from the window, mouse and keyboard

Lesson 5: Clipping Sprite Sheets

  • An introduction to selecting specific subsets of an image sheet, ie. sprite sheet, that we want to draw

Lesson 6: True Type Fonts with SDL_ttf

  • An introduction to using the SDL_ttf extension library to render true type fonts

Lesson 7: Taking Advantage of Classes

  • An introduction to creating an easy to use Window class to manage the SDL_Window and SDL_Renderer

Lesson 8: Timers

  • An introduction to using timers in SDL, through the creation and usage of a Timer class

About

Source code and assets for the TwinklebearDev Tutorials

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published