sdl
Simply including SDL header causes linker error
I was going to migrate my game from glut开发者_如何学JAVA to sdl. It\'s working perfectly in glut but I wanted to use some sdl features.[详细]
2023-03-28 20:17 分类:问答OpenGL Tiles/Blitting/Clipping
In OpenGL, how can I select an area from an image-file that was loaded using IMG_Load()? (I am working on a tilemap for a simple 2D game)[详细]
2023-03-28 11:39 分类:问答What happens when a thread attempts to access a mutex-locked resource?
I\'m currently creating an SDL/OpenGL program, which renders objects based on a few state variables.These state variables are updated continuously in a seperate thread, at a user-defined rate.Every on[详细]
2023-03-28 01:23 分类:问答SDL left control keydown event is fired when key is released
So I have the following code that listens for a keydown event and then exits as soon as it receives one:[详细]
2023-03-27 02:40 分类:问答Isometric tilled-map scrolling
I have a problem here. I\'m s开发者_开发技巧earching answer for this for some time now, trying to get into solution by myself, but with no results. This question was probably asked many times, but eve[详细]
2023-03-27 01:38 分类:问答C++ refuses to run properly unless cout is used
This code compiles, but refuses to make a ball jump when there is no cout. When there is a cout, it properly makes the object (dot) jump. This is just a bit of practice using SDL to create a super pri[详细]
2023-03-26 19:02 分类:问答SDL_WM_SetCaption not working
开发者_运维问答any idea why the following code isn\'t working? Nothing happens when it\'s called, the window title is still untitled. I\'m on Ubuntu linux.[详细]
2023-03-26 12:48 分类:问答Event Handling API's to Use with OpenGL
I\'ve been looking into input handling for an OpenGL application.I want to handle at least two joysticks, keyboard, and mouse.Outsourcing this to python scripting would be a big bonus, but not require[详细]
2023-03-26 05:03 分类:问答How do I render with OpenGL but still use SDL for events?
I want to make sure I am using OpenGL for 2d rendering, but SDL for events. From what I have heard SDL uses software rendering, and OpenGL is hardware accelerated. I am in the middle of reading one bo[详细]
2023-03-25 14:12 分类:问答SDL app using DirectFB error: No available video device
I\'m hoping this is something simple.I am writing an app for an embedded linux platform from my Ubuntu linux desktop.The app itself works fine under X11.I can also get it to work using the fbcon drive[详细]
2023-03-25 06:14 分类:问答