SFML community forums

General => General discussions => Topic started by: blazgrom on March 25, 2015, 06:27:09 pm

Title: SFML or SDL for school project
Post by: blazgrom on March 25, 2015, 06:27:09 pm
Hello guys ,can you help me decide which library i should use for my school project. Basically near the end of june i have to present a project in computer science , i've already decided that i will be presenting a simple side-scrolling game my problem is that i can't decide which library i should use.
p.s: Consider that i'm fairly good in c/c++, but new to game development.
Title: Re: SFML or SDL for school project
Post by: Rosme on March 25, 2015, 06:34:24 pm
Whatever floats your boat. Obviously you're on the SFML forum, so we might say SFML.

Just don't forget that C and C++ are two distinct language. If you want to use C, go with SDL or CSFML. If you want to use C++, go with SFML.
Title: Re: SFML or SDL for school project
Post by: Jesper Juhl on March 25, 2015, 06:41:49 pm
I'd suggest STL (http://www.cplusplus.com/reference/) + SFML (http://www.sfml-dev.org/) + Thor (http://www.bromeon.ch/libraries/thor/) + possibly one of the GUI add-on libs (https://github.com/SFML/SFML/wiki/Community-FAQ#libraries-gui-package).
Title: Re: SFML or SDL for school project
Post by: Glocke on March 27, 2015, 11:50:16 am
I'd also recommend STL, SFML and Thor. But keep in mind: Keep it simple ;) A programming project with a deadline might fail because of too high expectations.

A word about C vs. C++ : If there's no reason why not to use C++, use C++! The standard library is great for getting started quickly. When using C, you limit yourself to depend on third party libraries e.g. for linked lists or hash maps. Save some time and pick C++11: that's the current standard. The next one is upcomming but not completly supported by all compiler vendors... But C++14 might also be a solution :)

Hope that helps :)