A Simple Intro to SDL

Tutorials Shared by the Internet Community

Advertisements


Synopsis

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

Statistics

  • Total Hits - 26891

  • Total Votes - 101 votes

  • Vote Up - 44 votes

  • Vote Down - 57 votes

  • Domain - www.cpp-home.com

  • Category - C and C++/Game Programming

  • Submitted By - Shekhar

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

Description

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? ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements