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...
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...
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.
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.
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.