I have the following test setup: 1024 * 768 screen surface created with SDL_HWSURFACE The main loop consists only of SDL_Flip() and a simple FPS counter
In my SDL game, I\'d like to retain a fixed resolution o开发者_Go百科f the game area, both for gameplay and performance reasons.
Can anyone tell me why this crashes my program? It\'s suppose to make it so order has all the elements in the t vector situated by (y + height).
Is 开发者_如何学编程there a way to use sdl-config in CMake?Yes. Just use find_program() to find it and execute_process() to run it and capture its output. If you actually want to test for SDL and use
I\'m new to using Eclipse. I\'m trying to write some C++ code in it with the CDT but I can\'t figure out how to tell it to rebuild manually. I did a little test program and accidentally put SDL_EVERYT
I would like to know how can I detect the press of a key or release of a key in a while loop in SDL. Now, I know you can get the events with SDL like OnKeyPressed, OnKeyReleased, OnKeyHit, etc, but I
I am currently working on a game in SDL which has destructible terrain. At the moment the terrain is one large (5000*500, for testing) bitmap which is randomly generated.
I\'ve been having a lot of trouble trying to render text in SDL with TTF to an SDL window. I\'m a little new to C++ and would like this explained in a bit of a开发者_如何学运维 \'newbie\' way. (with s
I\'ve just started using C++ again after using solely VB for a year and I wanted 开发者_高级运维to try my hand at cross platform development. So I started learning to use SDL (which is very very easy
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.