sdl
SDL vs SFML using C when portability matters most? [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing th[详细]
2023-03-24 19:24 分类:问答How to switch from Stereo to mono
I\'m using SDL and FFMPEG to decode audio. my test file has combination of Stereo and mono channels. When i try to play the audio file the stereo part will play, but my application fails to play开发者[详细]
2023-03-24 02:23 分类:问答How to load image with IMG_Load() without the byte padding for each line?
If i load image such as 98x*** which is 3 bytes per pixel, it will create 2 bytes padding there to make it fit in 4 bytes sequences.[详细]
2023-03-23 23:33 分类:问答SDL/SDL_image.h: No such file or directory
I\'m trying to follow Lazy Foo\'s tutorials. But when I try to run one of his examples I get this compiler error:[详细]
2023-03-23 10:33 分类:问答SDL.NET SDL_Flip() equivalent
SDL has an SDL_Flip() function for sw开发者_运维技巧apping screen buffers. What is the equivalent in SDL.NET?There is no Screen.Flip() method.It\'s not called Flip, it\'s Update:[详细]
2023-03-23 10:12 分类:问答SDL / OpenGL: Implementing a "Loading thread"
I currently try to implement a \"Loading thread\" for a very basic gaming engine, which takes care of loading e.g. te开发者_如何转开发xtures or audio while the main thread keeps rendering a proper mes[详细]
2023-03-23 07:29 分类:问答error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup, but this time it's NOT a Windows/Console problem!
So, the infamous error is back. The project is complaining that it can\'t find the main() method (that\'s what the error means, right).[详细]
2023-03-23 02:18 分类:问答Changing pixel color in SDL
I\'m making a game that only uses PNG with black and white pixels.But there are some times where I would want to change the color of the white pixels to something different, like green (#00FF00).[详细]
2023-03-22 17:35 分类:问答Android & SDL: "called unimplemented OpenGL ES API"
I\'m trying to run the \"Alien Shooter\" 开发者_如何学GoAndroid/SDL example on my new Samsung Galaxy Fit. I have not changed any of the code from its initial state. On the emulator things work fine bu[详细]
2023-03-22 12:11 分类:问答Very Quick Globals.h Question (with it included, some of the items still come up undefined)
using globals.h im hoping to store a vector of rectangles and also a collision box and a few global bools[详细]
2023-03-21 15:26 分类:问答