GLUT x SDL

What should a (beginner) game programmer consider when trying to state GLUT and SDL (dis)advantages?

What would you pick and why?

Thanks!

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:
[b]What should a (beginner) game programmer consider when trying to state GLUT and SDL (dis)advantages?

What would you pick and why?

Thanks![/b]

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.