Hey all, I\'m very new to OpenGL (just started seriously programming with it today) and I\'m trying to use it to give my SDL games a 3D boost. I\'ve setup a small test program below:
I\'ve been hacking away on an ARM based device (Freescale i.MX27 ADS) with a built-in screen for the past few days. The device is running a modified, minimal GNU/Linux system, with no window managemen
I\'m programming a little game in SDL and the files are structured like this: \"src/game/\" have both .h and .cpp source files.
this is regarding this tutorial page from lazyfoo\'s set of SDL tutorials. There he first starts a timer to calculate how much time each frame should stay alive for, before it is refreshed. He does th
Take a look at this piece of code here: void game::startLoop() { while(QUIT == false) { getRoomUpdate();
I have a Array of Sprite classes with these methods: x, y, width and height. They are sorted based on his z property. The last are on top. I have, too, the scr开发者_开发知识库een size. How can I know
I want to convert an SDL_Surface, which was loaded by IMG_Load() to an other pixel format (rgba8) for an OpenGL Texture. How开发者_开发百科 can I do that?
I\'m currently writing a game of immense sophistication and cunning, that will fill you with awe and won- oh, OK, it\'s the 15 puzzle, and I\'m just familiarising myself with SDL.
In SDL, when you set up your audio output device, you and SDL have to agree on an audio format - e.g. 44.1KHz stereo 16-bit signed little-endian. That\'s fine. But along with the final agreed format,
I\'m getting some strange behaviour with the mouse position in SDL. If 开发者_如何转开发I re-size the window bigger, the x,y positions from either mouse events, seem to be restricted to the original w