{"id":20739440,"url":"https://github.com/egormkn/sdlxx","last_synced_at":"2025-06-22T20:35:15.261Z","repository":{"id":50822045,"uuid":"80354034","full_name":"egormkn/SDLXX","owner":"egormkn","description":":space_invader: Modern C++ wrapper for Simple DirectMedia Layer (SDL2)","archived":false,"fork":false,"pushed_at":"2021-08-19T19:12:44.000Z","size":35394,"stargazers_count":11,"open_issues_count":3,"forks_count":3,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-24T02:43:07.672Z","etag":null,"topics":["animation","audio","directx","game","game-engine","gamedev","gui","image","mixer","network","opengl","physics","physics-2d","rendering","sdl","sdl2","ttf"],"latest_commit_sha":null,"homepage":"https://egormkn.github.io/sdlxx","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/egormkn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-29T15:34:34.000Z","updated_at":"2023-09-07T00:06:49.000Z","dependencies_parsed_at":"2022-09-12T02:21:50.872Z","dependency_job_id":null,"html_url":"https://github.com/egormkn/SDLXX","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/egormkn/SDLXX","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egormkn%2FSDLXX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egormkn%2FSDLXX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egormkn%2FSDLXX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egormkn%2FSDLXX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egormkn","download_url":"https://codeload.github.com/egormkn/SDLXX/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egormkn%2FSDLXX/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261363269,"owners_count":23147530,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation","audio","directx","game","game-engine","gamedev","gui","image","mixer","network","opengl","physics","physics-2d","rendering","sdl","sdl2","ttf"],"created_at":"2024-11-17T06:24:57.016Z","updated_at":"2025-06-22T20:35:10.242Z","avatar_url":"https://github.com/egormkn.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SDLXX\n\n[![Build](https://github.com/egormkn/SDLXX/actions/workflows/build.yml/badge.svg)](https://github.com/egormkn/SDLXX/actions/workflows/build.yml)\n\n## Description\n\nSDLXX is a modern C++ wrapper for the widely used [SDL](https://www.libsdl.org/) library \nand its extensions: \n[SDL_image](https://www.libsdl.org/projects/SDL_image/), \n[SDL_mixer](https://www.libsdl.org/projects/SDL_mixer/), \n[SDL_net](https://www.libsdl.org/projects/SDL_net/), \n[SDL_ttf](https://www.libsdl.org/projects/SDL_ttf/).\n\nIt is designed to provide safe access to audio, keyboard, mouse, joystick, network and graphics hardware.\n\n## Features\n\n- Provides object-oriented bindings for SDL2 and its extension libraries\n- Uses [RAII idiom](https://en.cppreference.com/w/cpp/language/raii) and C++ smart pointers for safe management of SDL resources\n- Supports [vcpkg manifest mode](https://github.com/microsoft/vcpkg/blob/master/docs/users/manifests.md)\n\n## Examples\n\nHere is an example of the [game](https://github.com/egormkn/SDLXX/releases) created using SDLXX:\n\n![Game screenshot](examples/game/assets/game.png)\n\n## Alternatives\n\nThere are some other projects on Github that aim to provide a similar functionality:\n\n- [libSDL2pp](https://github.com/libSDL2pp/libSDL2pp)\n- [sdl++](https://github.com/tcbrindle/sdlxx)\n\n## Development\n\n1) Clone the repository with vcpkg submodule:\n\n```bash\ngit clone --recurse-submodules https://github.com/egormkn/SDLXX.git\n```\n\n2) Open a project in IDE (VSCode/CLion/QtCreator/...) or use CMake to build from command line:\n\n```bash\ncd SDLXX\ncmake -S . -B build -D BUILD_EXAMPLES=ON\ncmake --build build\n```\n\n## License\n\nThis library is distributed under the terms of the [ZLib License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegormkn%2Fsdlxx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fegormkn%2Fsdlxx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegormkn%2Fsdlxx/lists"}