0

Hey! I've been looking into game development recently and decided to start learning, I have good base on C++ so language isn't problem. I came across these 2 libraries, SFML and SDL, they break opinions so I would like to hear which you guys suggest! Thanks

3
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by Silvershaft
0

I think there might be more support for SDL than SFML in the internet.
Maybe pick one based the support it has online. So you get more
documents and tutorials for your benefit.

0

I have never used SFML, so I can't say anything about that. But I can highly recommend the SDL: it's a great library. If you're just starting to learn it, you really should check out this tutorial, it's one of nicest out there: http://lazyfoo.net/SDL_tutorials/index.php

[edit] The SDL has good multiplatform support. Programs you write with it will probably run on almost any computer you come across. I have SDL programs that run on Windows and various flavours of Linux, for example, but the SDL itself supports far more than that.

It also has support for joysticks, keyboard, mouse, software and hardware acceleration, etc. I find that the SDL's lack of primitive drawing functions (lines, polygons, circles, and so on) is a bit annoying, but there's an add on library called SDL_gfx that supports all these and more. Finally, SDL_ttf allows you to use virtually any font you'd like, be it fixed-width or true-type. And once you get into it more, you'll probably find that SDL_image's ability to load many common image formats (as opposed to just BMPs) is useful as well. [/edit]

Edited by dwks: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.