Jump to content
  • Advertisement
Sign in to follow this  
Ferazu

SDL vs SFML

This topic is 1936 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all!
I've been studying C++ for a while now and I want to start with 2d-programming and then work my way towards 3d-programming (heard opengl is a good way to start). I have some background in C# and XNA where I have programmed couple of small games such as Asteroids, Pac-man and a 2d-platformer. I've heard alot about SDL and SFML but can't really decide which one to choose. The main goal is to learn more C++ through game-programming.

Any recommendations from you guys? Would appreciate if you could share your own personal experience and perhaps some good tutorials etc.


Sorry for my english btw, it's not my native language :)

Share this post


Link to post
Share on other sites
Advertisement

If I were you I would use SFML, since it's object oriented.  Will be good for you to see a well designed object oriented library.

Edited by EddieV223

Share this post


Link to post
Share on other sites

Thx all! Decided to look into sfml. Seems like it's not compatible with VS2012? Do you use VS2010 or is there an easy way to make with work with VS2012? Or is it just better to use VS2010 when working with sfml?
 

Edited by Ferazu

Share this post


Link to post
Share on other sites

Thx all! Decided to look into sfml. Seems like it's not compatible with VS2012? Do you use VS2010 or is there an easy way to make with work with VS2012? Or is it just better to use VS2010 when working with sfml?

It's compatible with VS2012, though you might have to build the libraries yourself. It's a fairly simple process, if you follow the tutorial for building.

Edited by Cornstalks

Share this post


Link to post
Share on other sites

Get on the sfml forum, search for "nightly" you should find a thread with sfml 2.0 built from the repo, there is a package for vs2012.

Share this post


Link to post
Share on other sites

Get on the sfml forum, search for "nightly" you should find a thread with sfml 2.0 built from the repo, there is a package for vs2012.

This. Here, I'll even provide the link to eXpl0it3r's builds: linky. If you're using VS 2012, you want the "Visual C++ 11" binaries.

Share this post


Link to post
Share on other sites

Guys, you have all been really helpful, thanks alot! Will start using sfml tonight :)  

Share this post


Link to post
Share on other sites

Thx all! Decided to look into sfml. Seems like it's not compatible with VS2012? Do you use VS2010 or is there an easy way to make with work with VS2012? Or is it just better to use VS2010 when working with sfml?

It's compatible with VS2012, though you might have to build the libraries yourself. It's a fairly simple process, if you follow the tutorial for building.

 

I did a somewhat more detailed tutorial on building for Visual Studio 2010 with CMake, but other than changing a value in the drop down, I think the process is identical for 2012.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!