Super thanks George, valuable info as always!
That was the first thing I looked at, were some of the games that were created using Win32, SDL, & SFML. Of course I wanted openGL & DirectX directly, but that was a much bigger learning curve. I am ok with SDL/SFML graphics...for now. In fact, I was warned not to even touch SFML/SDL since I was just starting to learn C++ and of course I did not listen and was too eager to go peeking...which then lead to doing more than just peek.
Whatever I did it HAD TO BE with C++ and I did not want anything like Unity. Learning C++ was priority and choosing SFML/SDL allowed me to get one step closer to OpenGL. OpenGL is not windowed and somebody in a post had mentioned that SFML allowed you to easily include sfml-window module without all the other SFML dependencies. Also, as mentioned allowed us to do windows/gui with effort and if so desired.
1 2
|
#include <SFML/Window.hpp>
#include <SFML/OpenGL.hpp>
|
Another guy said that SFML had a special "View" class, which implied that SDL did not (although I never verified that), which allowed you to manipulate layers of graphics. This allows you to create top-down multi-layered games and split-screen games, a big bonus! I looked at John Horton's book and it had a good diversity of games from Pong, Timber, top-down zombie shooter, and split-screen game.
Finding out now that SDL also does DIrectX on Windows does not phase me, since I was never planning on making anything that pushed the limits. Only enough to have fun, learn, and learn more C++ and get closer to OpenGL.
George P wrote: |
---|
Not natively, that requires Direct3D.
|
So it is pretty much like SFML in that respect, if you want 3D then you can add it. Someone online said that DirectX IS Direct3D, so I went on for a while thinking they both mean the same...it made sense because when they referred to Direct3D 11 or 12 they would also refer to DirectX 11 or 12. Come to find out that X actually uses 3D as the actual 3D rendered and that they are independent, but can be used collectively. X depends on 3D!
George P wrote: |
---|
Linux distros don't have it, to use SFML on Linux requires additional libraries to be installed.
|
Yes, I did see that as well and the SFML site provides a list of the necessary libraries needed.