Tagged Questions
4
votes
1answer
85 views
Key events outside of an SDL application
I'm developing an app under C++ and SDL running in Ubuntu. I'm using the SDL events to handle the keypad buttons. My problem is that my app launch other programs and it should close they with a key ...
2
votes
2answers
471 views
How to hide assets from user? ( e.g.: a png file )
I think the title is quite self-explaining, still this is a big area I think, so let me drop a few words:
I've got a simple experiment game project going, and I want to make sure, that the user isn't ...
2
votes
4answers
609 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 ...
8
votes
1answer
806 views
Getting OpenGL hardware acceleration with SDL on Linux
I'm trying to use SDL + OpenGL but I don't believe hardware acceleration is working because the framerate for around 18000 polys is about 24fps on a quad core machine but is a hopeless 1-2fps on an ...