Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 1
SDL and SFML (c++)
Before I ask the question I thank you for helping me out. Could you tell me what both libraries do and what they do specialy (in that topic of game development)? What are the pros of each library (as well in the topic of game development) ? Again thank for helping me out I know this question is asking much more than te average question. Thank you very much.
1 Answer
+ 10
Best to find out in the official pages.
https://www.sfml-dev.org
https://www.libsdl.org
SFML is built on top of SDL and has been more beginner friendly than SDL so theres more features (you can do them in SDL, but it would be difficult, hence why I used beginner friendly).
SFML is better supported as a game library than SDL. So plenty of neat features that require extra hard work and thinking if you used SDL instead.
Think of it as SDL is like assembly language and SFML is its C++.
Final words, if you have a game idea and want it out there already, use SFML.
If you want to learn deeper about game dev and how to code up your own physics, collisions, logic, features, etc. go SDL.