SDLXX is a modern C++ wrapper for the widely used SDL library and its extensions: SDL_image, SDL_mixer, SDL_net, SDL_ttf.
It is designed to provide safe access to audio, keyboard, mouse, joystick, network and graphics hardware.
- Provides object-oriented bindings for SDL2 and its extension libraries
- Uses RAII idiom and C++ smart pointers for safe management of SDL resources
- Supports vcpkg manifest mode
Here is an example of the game created using SDLXX:
There are some other projects on Github that aim to provide a similar functionality:
- Clone the repository with vcpkg submodule:
git clone --recurse-submodules https://github.com/egormkn/SDLXX.git
- Open a project in IDE (VSCode/CLion/QtCreator/...) or use CMake to build from command line:
cd SDLXX
cmake -S . -B build -D BUILD_EXAMPLES=ON
cmake --build build
This library is distributed under the terms of the ZLib License.