Thread: looking for appropriate graphics library

  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    53

    Question looking for appropriate graphics library

    Hi,
    I'm looking for a graphics library which would enable me to create 2d games. Should i use opengl, directx or something else? It would be better if it included functions/methods which ease user interaction.

    Thanks for your help in advance...

  2. #2
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,949
    A discussion on this topic is posted in the tutorial section. Now mind you these libraries have evolved and will continue to do so. It really is going to come down to your own personal opinion and what you like coding with best.

    *EDIT* You might also want to take a look at Allegro if you just want to play around with 2D
    Last edited by AndrewHunter; 06-07-2011 at 10:27 AM.

  3. #3
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Another library you might consider which makes 2D graphics easy is the SDL. It's similar to Allegro. An SDL tutorial: Lazy Foo' Productions

    OpenGL and DirectX are much more sophisticated. You may not want to jump in and learn them just yet.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  4. #4
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    All of the Nethack users would be upset if I didn't mention ncurses.


    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. .net graphics library
    By xddxogm3 in forum C# Programming
    Replies: 3
    Last Post: 12-01-2010, 12:29 PM
  2. Best Graphics Library for 2d RTS?
    By arew264 in forum Game Programming
    Replies: 4
    Last Post: 04-18-2007, 12:05 PM
  3. Graphics Library
    By Ranorith in forum C++ Programming
    Replies: 3
    Last Post: 12-07-2003, 09:32 AM
  4. Graphics library?
    By Paninaro in forum C Programming
    Replies: 6
    Last Post: 06-24-2002, 08:35 PM
  5. Graphics Library
    By Jez_Master in forum C++ Programming
    Replies: 1
    Last Post: 04-04-2002, 01:02 AM

Tags for this Thread