Best Graphics Library for 2d RTS?

This is a discussion on Best Graphics Library for 2d RTS? within the Game Programming forums, part of the General Programming Boards category; I'm hoping to make a 2d RTS in C++. I have done a lot of mud programming in the past ...

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    7

    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
    Location
    Isabela, PR
    Posts
    105
    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.
    Code:
    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
    Location
    Portland, Or
    Posts
    1,094
    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
    Location
    Cyberwarping to Middle Earth
    Posts
    154
    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
    Posts
    321
    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, 03: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, 12:30 PM
  5. allegro graphics library for linux
    By oldcoyote in forum Linux Programming
    Replies: 3
    Last Post: 10-03-2001, 10:24 AM

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