Graphics API

I am a beginner programmer, and I want to learn how to do graphics. I don't know which api to use. I want to be able to do 2d and 3d. Should I use directx? Or sdl, or sfml? Or is there a different API, that can be used professionally? If someone could recommend a tutorial for whatever they suggest that would be great. Please explain why the api would be good.
Last edited on
closed account (jwkNwA7f)
I've already told you I like DirectX. SDL and SFML are a lot easier. SFML has a tutorial on it's site, I think.
There is openGL, which is used professionally for cross-platform things. However, it can be complicated. I don't know what SFML is like, but from its name (Simple Fast Media Library) I would assume its not to bad.

For tutorials, has a great set of tutorials, though they are Windows only. (Then again, we are in the Windows forum, so I would assume that would be fine. The ideas can still be transferred to other platforms too.)
Is sdl 2.0 safe to be used in public games? I don't want it crashing. Is it stable?
Well i definitely wouldn't recommend Directx for a beginner, go for SDL or ALLEGRO or SFML, you'll find plenty of tutorials on them online.
Topic archived. No new replies allowed.