Skip to content

libSDL2pp/TwinklebearDev-Lessons-libSDL2pp

 
 

Repository files navigation

TwinklebearDev-Lessons for SDL2pp

These are TwinklebearDev SDL 2.0 Lessons converted to SDL2pp, C++11 wrapper for SDL2. The purpose of this repository is merely to show how modern C++ makes error handling and resource management safer and easier.

See the difference:

https://github.com/AMDmi3/TwinklebearDev-Lessons/compare/Twinklebear:master...sdl2pp

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: Handling Events
    • 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

About

TwinklebearDev Tutorials for SDL2pp

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy