Faced the following problem: I have a grid and a beam, in the form of a circle. At this stage, you just need to draw them. Grid::render(): Beam::r ...
Faced the following problem: I have a grid and a beam, in the form of a circle. At this stage, you just need to draw them. Grid::render(): Beam::r ...
I'm currently working on a personnal project and I have an issue with SDL_mixer or Audio I can compile without any problems but when I try to execute ...
I'm trying to put an imagine on surface. So it's showed a black screen when I'm load BMP and display bmp here's my code: #define SDL_MAIN_HANDLED # ...
. Answers to this question are eligible for a +200 reputation bounty. h ...
I installed the MinGW version of SDL from their website. I created a sample piece of code just to test if I could include the library without any err ...
so i've been working on a game system/engine, for my 2D Platformer, and when i press the w, a, s, or d keys it won't move when called in the main loop ...
I'm tryng to compli a SDL program in Linux Ubuntu 22.04 on LENOVO V130-15IBK When I compile using make, this is the konsole answer: emenems@emenems- ...
. Answers to this question are eligible for a +50 reputation bounty. Fa ...
I am trying to create an instance and validate that the code can create that instance. However, For some reason code compiles and fails to create the ...
This is my main game loop. I want to detect keyboard input in my class called 'Scene'. To do this, I attempted to pass in the SDL_Event object to m ...
I made a project with SDL2 under Windows. When I try to compile it on Linux, these errors occur: reilbas@reilbas:~/C/a/Labyrinthe-3D-main$ g++ -o te ...
As said My button text gets lost. It happens after many renderings iterations (1399 times approx) Since I am calling the SAME class function. there is ...
In the Windows development environment: If you use SDL_CreateWindow() to create a window, run as a console program, and render h264 video, it is c ...
I have been trying for hours to install SDL2 on CodeLite Mac. I downloaded SDL2, but can't find any documentation to make it work with CodeLite on Mac ...
I have a problem with changing the background color in the title bar window. Is it possible to change with SDL2? Want to change from white color to bl ...
my current understanding of bitwise operations is that it would push the binary reprisentation of a number a specific amount of times either removing ...
I was trying to learn SDL2 and was trying to figure out how SDL_CreateWindow was implemented. All I could find out was this and a #define in the co ...
I am making a google chrome dinosaur game using an SDL Template for graphics and I am almost finished but I have run into the issue of needing to be a ...
I am working on a google chrome dinosaur chrome clone using an SDL template and I have an issue where the character is not stopping once he hits the f ...
I don't understand why when I run the program nothing happens (no windows or cout): .\src\main.cpp : #include <SDL2/SDL.h> #include <iostre ...