I’ve just started looking at SDL and was wondering if there are any simple
examples/tutorials. The SDL Guide that is part of the documentation project
is a good start, but not exactly what I’m looking for. An example of what
I’d like to see is a very simple game/utility implemented using a good
subset of the SDL features. For example a minesweeper game, or a calculator
done in SDL. This would allow a place to show most of the features of SDL
w/o becoming too complicated to follow. Most of the demos are very
impressive, but too complicated for a beginner to follow.
Does anyone know of such a tutorial? Any other tips for someone just
starting to learn SDL besides RTM (which I am doing, but examples help so
much :).
Thanks,
Buck========================================================
There is no spoon.
ICQ UIN:48214438
Wesley (Buck) Lemke
http://innova.dyn.dhs.org
mailto:@Wesley_Lemke
It’s not a game, but my “explosions” demo is heavily commented.
Most of my other games, while often pretty massive (and all in one C file
) are also pretty well documented/commented, too.
Something like “Bug Squish” might be a good start. Music, sound, mouse,
keyboard, graphics…
Bug Squish [New Breed Software]
http://www.newbreedsoftware.com/explosions/
And long, long ago, in a galaxy far, far away, I did a talk on SDL at
my local LUG. It’s entirely out of date, but goes through the basics:
SDL Talk
SDL Talk
Enjoy!
-bill!
(tooting his own horn <toot toot!>)On Thu, Aug 16, 2001 at 12:59:26PM -0500, Wesley Lemke wrote:
I’ve just started looking at SDL and was wondering if there are any simple
examples/tutorials. The SDL Guide that is part of the documentation project
is a good start, but not exactly what I’m looking for. An example of what
I’d like to see is a very simple game/utility implemented using a good
subset of the SDL features. For example a minesweeper game, or a calculator
done in SDL. This would allow a place to show most of the features of SDL
w/o becoming too complicated to follow. Most of the demos are very
impressive, but too complicated for a beginner to follow.
I’ve just started looking at SDL and was wondering if there are any simple
examples/tutorials. The SDL Guide that is part of the documentation project
is a good start, but not exactly what I’m looking for. An example of what
I’d like to see is a very simple game/utility implemented using a good
subset of the SDL features. For example a minesweeper game, or a calculator
done in SDL. This would allow a place to show most of the features of SDL
w/o becoming too complicated to follow. Most of the demos are very
impressive, but too complicated for a beginner to follow.
Does anyone know of such a tutorial? Any other tips for someone just
starting to learn SDL besides RTM (which I am doing, but examples help so
much :).
Yes, it’s called “Programming Linux Games”, you can buy it from
www.lokigames.com or from www.nostarch.com/plg.htm I believe…
You can also purchase it from your local bookstore (ala Borders/Barnes &
Noble)…
ISBN# 1-886411-49-2
It not only introduces SDL but some other good programming practices as well as
introduction to the ubiqutous OpenAL, you’ll thank yourself later for buying it.
It’s the easiest to understand intro to SDL i’ve ever read personally, I read
almost 1/2 the book last night, I couldn’t lay it down
It’s a great
introduction to the world of SDL and I know Sam can vouch for it, he wrote the
foreword to the book 
It starts from the very basics and works its way up to a simple ‘maelstrom’ like
game complete with input, sound, and music…
Thanks,
Buck
-EvilTypeGuyOn Thu, Aug 16, 2001 at 12:59:26PM -0500, Wesley Lemke wrote:
Yes, it’s called “Programming Linux Games”, you can buy it from
www.lokigames.com or from www.nostarch.com/plg.htm I believe…
You can also purchase it from your local bookstore (ala Borders/Barnes &
Noble)…
Not to be confused with “Linux Game Programming.”
My local Borders claimed to have PGL, but all I saw there was LGP.
-bill!On Fri, Aug 17, 2001 at 12:01:32PM +0000, EvilTypeGuy wrote:
Yes, it’s called “Programming Linux Games”, you can buy it from
www.lokigames.com or from www.nostarch.com/plg.htm I believe…
You can also purchase it from your local bookstore (ala Borders/Barnes &
Noble)…
Not to be confused with “Linux Game Programming.”
Definitely not! There should be no confusion for those that have read PLG 
My local Borders claimed to have PGL, but all I saw there was LGP.
Yes, the lousy bums told me they ‘had it in stock’, and when I got there
apparenlty ‘in stock’ meant still in their receiving area and not yet unpacked

-EvilTypeGuyOn Mon, Aug 20, 2001 at 10:05:25AM -0700, William Kendrick wrote:
On Fri, Aug 17, 2001 at 12:01:32PM +0000, EvilTypeGuy wrote: