10

The current version of libsdl (1.2.x branch) is very, very slow with blending and per pixel alpha (as it uses software blending). Is there any other good alternative to it?

aviraldg
  • 9,531
  • 6
  • 41
  • 56
  • 1
    I think this was harshly closed, the comments and answers are civilized and it is an interesting question with an excellent answer. – Anton Krug Dec 07 '17 at 23:04

4 Answers4

26

SFML is exactly what you need: http://sfml-dev.org/.

Skim through the tutorials, you'll see that it's way easier and more powerful than SDL.

Bastien Léonard
  • 60,478
  • 20
  • 78
  • 95
  • As far as I can see from the examples, it's simply brilliant... though it will take some time to get used to it... – aviraldg Sep 30 '09 at 20:10
6

There is SFML : http://www.sfml-dev.org/

Pierre Bourdon
  • 10,521
  • 4
  • 33
  • 27
2

Or... just use OpenGL on top of SDL.

Engineer
  • 8,529
  • 7
  • 65
  • 105
1

GLFW. It only tries to do one thing (window creation/input handling). It is C based and pretty easy to use provides bindings for several languages.

SFML does all that and also provides an API for audio, fonts, and networking. It's nativity a C++ API but provides bindings for several languages.

There are other thousands of options: SDL (older), Unity and UDK if you want to create a game, ...

skan
  • 7,423
  • 14
  • 59
  • 96