Should i use SDL?

This is a discussion on Should i use SDL? within the Game Programming forums, part of the General Programming Boards category; Hi. If i know how to use Win32API properly, and i know OpenGL and OpenAL, should i use that, or ...

  1. #1
    Registered User Drogin's Avatar
    Join Date
    Oct 2005
    Location
    Norway
    Posts
    103

    Should i use SDL?

    Hi.
    If i know how to use Win32API properly, and i know OpenGL and OpenAL, should i use that, or should i use SDL?
    Can SDL add something OpenAL, OpenGL and Win32API, can not?

  2. #2
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    It'll get you the ability to load textures extremely easily (SDL_image).
    It'll get you networking (SDL_net)
    It'll get you cross platformness

    SDL is a nice API, I guess it all comes down to your tastes.

    I can't think of too many things it provides that your existing combination doesn't, but it is designed more around games and graphics, and if you haven't started your project yet, I'd stick with it. Even if you can do something with Win32, SDL can make it easier in many cases.
    Programming Your Mom. http://www.dandongs.com/

  3. #3
    ---
    Join Date
    May 2004
    Posts
    1,379
    If you can use OpenGL and Win32 properly then to use SDL is kind of a step backwards. It is a wonderful library but it is best used for beginners or people looking to keep there games cross platform. But if you don't know a lot about it then just try it out, you might enjoy it's simplicity.

  4. #4
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    Well, I'd say that it is not a step backwards. OpenGL/SDL combined offer no disadvantages to SDL/Win32 really. You get faster development time for some parts, and in most places its the same, because you're just using pure OpenGL for most things in a game. And, if you absolutely need Win32API, you can use that too, giving you the best of all worlds.
    Programming Your Mom. http://www.dandongs.com/

  5. #5
    Registered User
    Join Date
    Nov 2005
    Posts
    4

    Talking Well, here's a thought. =)

    Well, you can use OpenGL from within SDL. It makes it a little easier than using the Win32 API to create a window, etc. You just have to setup SDL for OpenGL, and initialize OpenGL. And that's it.

    I've done it before, and it's not difficult. I think SDL is great. I use it. In fact, I'm using it on my current project, which is a breakout clone. =)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. SDL + Newbie
    By Livijn in forum Game Programming
    Replies: 7
    Last Post: 04-30-2007, 11:20 PM
  2. Problems compiling this SDL app
    By Rider in forum C++ Programming
    Replies: 3
    Last Post: 03-27-2007, 12:22 PM
  3. SDL and MinGW Studio
    By Vicious in forum Tech Board
    Replies: 0
    Last Post: 07-30-2004, 09:59 PM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 12:19 AM
  5. sdl in c++
    By Klinerr1 in forum C++ Programming
    Replies: 8
    Last Post: 07-07-2002, 07:46 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21