Thread: Best Graphics Library for 2d RTS?

  1. #1
    Registered User
    Join Date
    Apr 2007

    Best Graphics Library for 2d RTS?

    I'm hoping to make a 2d RTS in C++. I have done a lot of mud programming in the past and quite a bit of modding to Enemy Territory recently, but I don't know much about graphics.
    I'm trying to find the best graphics library/engine/whateveryouwanttocallit for drawing 2d images (with transparency) on a 2d background. Everything would be 2d, and it would be cool if I could use tga images. Looking around, I seem to be finding the OpenGL would be best for this. Am I correct in this guesstimate?
    Thanks in advance for any help you can provide me with.

  2. #2
    Insane Game Developer Nodtveidt's Avatar
    Join Date
    Nov 2006
    Isabela, PR
    Using a 3D library for 2D games is the way to go these days. For a nice freeware lib, check out yagl. It's no longer developed (the guy's still looking for someone to take it over) but it's a really nice, powerful, and compact all-in-one gaming-type lib for 2D games.
    cout << "Language comparisons are dumb";
    echo("Language comparisons are dumb");
    PRINT "Language comparisons are dumb"
    alert ("Language comparisons are dumb")

  3. #3
    pwns nooblars
    Join Date
    Oct 2005
    Portland, Or
    OpenGL or DirectX, the choice between these two has caused many flames and holy wars, I know a man who lost an arm!(j/k)

  4. #4
    C maniac
    Join Date
    Aug 2004
    Cyberwarping to Middle Earth
    I'd suggest either a 3D engine like OpenGL or a 2D library like the SDL.

  5. #5
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    OpenGL isn't a 3D engine, it's a graphics library, hence the name, OpenGL-OpenGraphicsLibrary

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using graphics library
    By arch in forum C++ Programming
    Replies: 2
    Last Post: 01-11-2008, 04:31 PM
  2. GD Graphics Library
    By Welder in forum Windows Programming
    Replies: 0
    Last Post: 11-01-2007, 06:46 PM
  3. Game Programming FAQ
    By TechWins in forum Game Programming
    Replies: 5
    Last Post: 09-29-2004, 02:00 AM
  4. Need some help choosing a good graphics library
    By dead_cell in forum Game Programming
    Replies: 31
    Last Post: 01-08-2003, 01:30 PM
  5. allegro graphics library for linux
    By oldcoyote in forum Linux Programming
    Replies: 3
    Last Post: 10-03-2001, 10:24 AM