SDL Tips

Taggidy tag tag

Game Development with SDL 2.0

Tim Jones    |     March 7th, 2014    |     0 comments
Check out this video talking about SDL 2.0 from Steam Dev Days.

SDL Announcements
SDL Tips

SDL Tip - SDL Surface to OpenGL Texture

Tim Jones    |     April 15th, 2011    |     25 comments
This is actually a common issue that I see popup every once in a while. You want to load in your images using SDL_image (or just SDL), but you then ne
SDL Tips

SDL Tip - Window Handle

Tim Jones    |     March 22nd, 2010    |     0 comments
You can easily grab the handle of the Window using a single function inside SDL. Please note, I don't recommend you do this unless you really need to
SDL Tips

SDL Tip - CD Drives

Tim Jones    |     March 19th, 2010    |     3 comments
Did you know that SDL can control attached CD / DVD drives? You can query various information about them, open the drive, close the drive, and even pl
SDL Tips

First Foray into SDL/OpenGL

OpenGL handles the drawing of models in a window but it does not provide the window, or handle events; that is why SDL is required. The prime purpose of this tutorial is to set up the SDL window and events mechanism. It also sets up the OpenGL environment that uses the window, the game loop, and a rotating cube.

Huh? My Pong clone uses 100% CPU and is still slow?

Your program is being a CPU hog! In some cases, this situation can actually make your program run slowly! Your code needs to give some time back to the OS (i.e. delay or sleep).

Setting up MonoDevelop to run Tao

A new series from Stephen Jones demonstrating how to use C#, Mono, and Tao to develop SDL / OpenGL games.