Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
42 views

Beginner seeking advice: Questions regarding SDL2 setup on Windows using MSYS2 and MinGW, plus concerns about deployment

I'm currently developing a game on Windows using the MSYS2 environment and mingw64. I've successfully installed SDL2 using the msys package manager (pacman) and using CMake, was able to get it up and ...
nz881's user avatar
  • 21
2 votes
1 answer
1k views

How to handle Japanese on Windows and Linux using SDL_ttf and C++?

In SDL_ttf, there are a few functions provided that handles non-ASCII string literals, such as: TTF_RenderUNICODE_Solid ...
tom_mai78101's user avatar
1 vote
1 answer
2k views

Save game feature in SDL 2?

I am making a 2D action-adventure platformer video game using the C++ computer programming language and the Simple DirectMedia Layer 2.0 (SDL 2.0.5) development library. So far I have created over ...
Aditya Chandra's user avatar
0 votes
1 answer
6k views

C++ and TinyXML2 Error: **this** was nullptr

I'm trying to make a video game using Microsoft Visual Studio Community 2017 and Simple DirectMedia Layer 2 (SDL 2.0.5, and SDL image loading file version 2.0.3). A map editor called 'Tiled!' was ...
Aditya Chandra's user avatar
2 votes
1 answer
3k views

SDL_Image setup problems on windows / mingw 64 / eclipse

I've been a software developer for a while, but I haven't done C++ in a long time and I thought I'd try it out with some game developement. I'm following the tutorial on youtube for Remaking ...
vecima's user avatar
  • 33
1 vote
2 answers
2k views

Reliably synchronising SDL animation with VSYNC in windowed mode

I have an SDL/OpenGL program which creates a rendering context with PRESENTVSYNC enabled, then enters an animation loop which calls ...
Mark Green's user avatar
4 votes
3 answers
3k views

Problem getting mouse events while keys held down in SDL2

I'm attempting to write input capturing code using SDL2 on Windows. However, I'm running into a problem. Whenever a key is held down, the SDL event queue has no mouse movement, nor will the mouse ...
sol_var's user avatar
  • 141