PDA

View Full Version : GLUT x SDL



mmr
02-04-2004, 08:37 AM
What should a (beginner) game programmer consider when trying to state GLUT and SDL (dis)advantages?

What would you pick and why?

Thanks!

nexusone
02-04-2004, 12:41 PM
I would go with SDL for a game creation.

Why:
1. SDL is still being updated, GLUT is not.
2. SDL has better input function, mouse,joystick, keyboard.
3. One less library you need, since with glut you need a sound library.



Originally posted by mmr:
What should a (beginner) game programmer consider when trying to state GLUT and SDL (dis)advantages?

What would you pick and why?

Thanks!

02-07-2004, 10:57 AM
Use SDL and OpenGL. Perhaps OpenAL for sound. Learn SDL first, then move on to OpenGL, even a beginner should be able to figure out how to do windows specific OpenGL stuff with SDL, it's that easy. Try "OpenGL Game Programming" after "Focus on SDL." They even have a newer "Beginning OpenGL Game Programming" book coming out in a few months. Look for them on amazon. You thank me.