SDL 2.0 Tutorial-03: Metasprites

So last week we were able to generate a collection of textures and draw them to the screen. In terms of memory this isn’t very efficient. This week we will be creating one texture from a meta¬† SDL_Surface*¬†. This will be my last part of this basic tutorial, if there are any topics you would like discussed please email me at “”. If you do occasionally read these posts please let me know which posts you find interesting!

There are many ways to structure game logic, and for a simple 2D game being written in C it comes down to mostly personal preference.