Tagged Questions
0
votes
1answer
322 views
Does SFML render it's graphics using OpenGL internally?
By that, I mean that SFML has an abstraction for OpenGL? Sort of like SDL's blit functions, but using OpenGL internally?
"Yes SFML uses OpenGL for all the graphical stuff. "
Received this comment ...
1
vote
3answers
1k views
How to draw 2D images using OpenGL, in SDL?
After everything, I managed to find a simple piece of code that shows how to draw a 2D image with openGL:
#include "SDL/SDL.h"
#include "SDL/SDL_opengl.h"
#include "SDL/SDL_image.h"
...
2
votes
4answers
611 views
Should the main game object be static in c++
I am creating a 2d platformer using SDL and I was thinking that my game object could be static, but I wasn't sure if this was a good idea.
The pros (that I can see):
Accessing settings options ...