A Simple Intro to SDL

Tutorials Shared by the Internet Community


A Simple Intro to SDL

This is a simple introduction to making multi-platform games with the SDL.


  • Total Hits - 34536

  • Total Votes - 106 votes

  • Vote Up - 48 votes

  • Vote Down - 58 votes

  • Domain - www.cpp-home.com

  • Category - C and C++/Game Programming

  • Submitted By - Shekhar

  • Submitted on - 2008-04-16 02:09:30


Writing a multi-platform game? But that's a lot of complicated work, and I don't have time to do that. Wrong! Everything has changed thanks to a sweet little API called the SDL or Simple Directmedia Layer (which can be obtained at www.libsdl.org). SDL is an easy to use library for Sound, Input, Timers, and 2D graphics (3D graphics are accomplised through the use of OpenGL). In this quick little tutorial, I'll teach you how to make your basic SDL window that you can compile on any platform! To make it even better, we'll add a little yellow pixel to the center of the screen, won't that be cool?    More detail...

Broken  |   Save  |   Liked  |   Down

E-Books Store