Allegro vs OpenGL/DirectX

This is a discussion on Allegro vs OpenGL/DirectX within the Game Programming forums, part of the General Programming Boards category; The other thread on this board got me thinking a little. I use allegro a little right now but I've ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    79

    Allegro vs OpenGL/DirectX

    The other thread on this board got me thinking a little. I use allegro a little right now but I've always looked at it mostly as a fun thing and some day I have to learn opengl or directx. But do I? Is allegro really an alternative to any of these? Anyone who's good at this, is it worth to learn allegro properly or should I go for one of the others?
    I'm talking mainly about game programming by the way.

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    Well, you know my vote. I knew most of DirectX and some other proprietary libs when I stumbled upon Allegro. The proprietary libs were cross platform, expensive, and usually pretty limited, but necessary for some of the projects I had. When I got Allegro going, I couldn't believe that it actually outperformed some of these libs because it can take advantage of hardware acceleration (something most of these did in a limited or poor fashion). DirectX, for example can also take advantage of HW acceleration. But DirectX isn't cross platform and makes porting a bit clucky. Allegro is clean, open source, as fast as the libs it wraps, and free.

    It is nice to look under the hood and understand what is going on, so maybe picking up a little DirectX, OpenGL, networking libs, various sound libs, etc would be beneficial to you. Then again, why not reinvent DirectX or OpenGL? Personally, I would just use Allegro for what it is good at, and learn about plugging in OpenGL for HW 3D, and various networking libs and call it good. Why remake something that exists and has been refined for years?

    I guess in other words, it depends on your taste. In the end, there are many ways to do equivalent things.

    -Justin

    EDIT: If you want to get hired as a pro game maker, you need to know a lot more though. It wouldn't be a bad idea to know all of DirectX, all of OpenGL, and Allegro couldn't hurt either. Also, even more important, specialize in something, like learn all about AI theory or 3D, or networking. Often, we learn things for credentials, then use the most practical thing.
    Last edited by Justin W; 11-09-2001 at 10:54 AM.
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    79
    Ok, thanks for the advice.
    The main problem I see about allegro is the lack of books and good tutorials. Are the at all any existing books about allegro?
    Or does anyone know a really good and descriptive tutorial suitable for an intermediate allegro programmer?
    Learning only from the examples included is quite hard.

  4. #4
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    www.allegro.cc is the official Allegro game programming community. From there, there are oodles of tutorial links etc. I'm unaware of books specifically for Allegro, but it wouldn't surprise me anymore.
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  5. #5
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    DirectX is the best

  6. #6
    Registered User dirkduck's Avatar
    Join Date
    Aug 2001
    Posts
    428
    "DirectX is the best" opinion!

    I believe that openGL is the best, but that is my opinion

  7. #7
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    no one cares about your opinion they care about mine and DirectX is the Best
    hey it rhymes.....

  8. #8
    Registered User
    Join Date
    Aug 2001
    Posts
    79
    "DirectX" and "best" doesn't rhyme...

  9. #9
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    > "DirectX" and "best" doesn't rhyme...
    They're half rhymes (but that's english class -- and I hate English).

    Hey, Justin, can you take a look at the thread I started "start game programming"? maes and I are having some problems with the allegro library.

    Thanks.

    --Garfield the non-English Programmer
    1978 Silver Anniversary Corvette

  10. #10
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    Sorry for the delay, I had to be out of town this weekend and didn't have access to an internet account.
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Allegro in C for a newb
    By Ideius in forum C Programming
    Replies: 5
    Last Post: 12-29-2005, 03:36 PM
  2. Game Programming FAQ
    By TechWins in forum Game Programming
    Replies: 5
    Last Post: 09-29-2004, 02:00 AM
  3. double buffering for allegro
    By Leeman_s in forum C++ Programming
    Replies: 6
    Last Post: 09-12-2002, 02:45 PM
  4. Special Allegro Information
    By TechWins in forum Game Programming
    Replies: 12
    Last Post: 08-20-2002, 11:35 PM
  5. Allegro programming in a window
    By Person Man in forum Windows Programming
    Replies: 0
    Last Post: 11-16-2001, 02:23 PM

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