api for 2d?

Started by
5 comments, last by GroZZleR 16 years, 8 months ago
which graphics api would be recommended for wriing a 2d side scroller?
Advertisement
If you want an all-in-one package I would recommend SDL or Allegro. Personally I use OpenGL for graphics, GLFW for input and FMod for sound :)
thanks for the advice
http://nehe.gamedev.net/ is allways a good start if you decide for OpenGL
Quote:Original post by Mekanikles
http://nehe.gamedev.net/ is allways a good start if you decide for OpenGL


No it's not. See this thread for why not.

Probably SDL or Allegro would be your best bet for a simple, inclusive 2D API. Though you could always use DirectX (DirectGraphics, DirectSound, etc) or OpenGL (with FMOD or OpenAL for sound).

However, using a 3D API for 2D graphics is the generally preferred method these days if performance and features are a concern.

throw table_exception("(? ???)? ? ???");

Have to disagree with you there ravyne2001, now I agree it's not in mint condition but for one who has never seen OpenGL before I think it's very leniant. Sure did help me understand how GL works in general, but that a few years ago though... :)
XNA.

This topic is closed to new replies.

Advertisement