Tagged Questions
8
votes
1answer
805 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 ...
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
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 ...
2
votes
2answers
467 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 ...
1
vote
1answer
17 views
pygame pyopengl resizing problem (under linux)
In test setup, i use no matrix transformations (screen coord space, -1.0 to 1.0)
The shader is simply gl_Position = position.
After resize i get correctly scaled render, but viewport is cropped into ...
0
votes
1answer
419 views
SDL mouse wheel not picking up
Running Ubuntu 11.04, SDL 1.2 trying to pickup mouse wheel up/down movement with this (stripped down) code:
int main( int argc, char **argv )
{
SDL_MouseButtonEvent *mousebutton = NULL;
...
0
votes
3answers
487 views
graphical interface when using assembly language
I want to learn a framework to use in assembly. I know that's not possible without learning the framework in C first. So I'm thinking of learning SDL in C and then teach myself how to interpret the ...