{"id":17786072,"url":"https://github.com/applelo/sdl2-template","last_synced_at":"2026-01-15T22:31:42.969Z","repository":{"id":135719477,"uuid":"307520438","full_name":"Applelo/sdl2-template","owner":"Applelo","description":"Base template to create game for PSP/PSVita/Mac/Windows/Linux with SDL2","archived":false,"fork":false,"pushed_at":"2021-04-13T15:59:41.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-07T15:15:30.678Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Applelo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-26T22:28:07.000Z","updated_at":"2024-07-21T14:27:11.000Z","dependencies_parsed_at":"2023-04-26T21:01:41.250Z","dependency_job_id":null,"html_url":"https://github.com/Applelo/sdl2-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Applelo%2Fsdl2-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Applelo%2Fsdl2-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Applelo%2Fsdl2-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Applelo%2Fsdl2-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Applelo","download_url":"https://codeload.github.com/Applelo/sdl2-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246725908,"owners_count":20823692,"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":[],"created_at":"2024-10-27T09:04:33.910Z","updated_at":"2026-01-15T22:31:42.961Z","avatar_url":"https://github.com/Applelo.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sdl2-template\n\n\u003e Base template to create multiplatforms games for PSP/PSVita/Mac/Windows/Linux with SDL2\n\n\nThis boilerplate currently supports Mac OS, the PSVita and the PSP. More platforms to come !\n\n## Requirements\n\nThis template has been mainly develop to create multiplatforms games thanks to SDL2 and serve as a quick base.\nYou will need to modify the `CMakeLists.txt` file to suite your needs.\n\nDefault libs used :\n- SDL2\n- SDL2 Image\n- SDL2 Mixer\n- SDL2 TMX Lite\n\n### IDE\n\nTo work with this template, the project need to be edit with Visual Studio Code. You will need the following extensions :\n\n- CMake Tools by Microsoft\n- C/C++ by Microsoft\n- Clang-Format by xaver\n\n### Env\n\nThe project uses additional env variables to use cmake command `emulator`, `send` and `send_vpk` specific for PSVita.\n\n```shell\n  export VITA_IP=\"10.0.0.26\",\n  export VITA3K_PATH=\"/Applications/Vita3K.app/Contents/MacOS/Vita3K\"\n```\n\n### Platforms\n\n#### PSVita\n\nYou need to install the [VITASDK](https://github.com/vitasdk/vdpm) to build homebrew for PlayStation Vita. The SDL libraries come with it.\n\nCurrently, to use [TMXLite](https://github.com/fallahn/tmxlite/wiki/Quick-Start), you need to build yourself the library.\n\n\n#### PSP\n\nYou need to install the [PSPToolchain](https://github.com/pspdev/psptoolchain) to build homebrew for PlayStation Portable. The SDL libraries come with it.\n\nCurrently, to use [TMXLite](https://github.com/fallahn/tmxlite/wiki/Quick-Start), you need to build yourself the library.\n\n\n#### Mac\n\nYou need to have a Mac (yeah obvious) with Xcode and the command lines tools installed.\n\nInstall all SDL libraries you need (see SDL2 doc). You can use also homebrew if you prefer.\n\nIf you want to use tmxlite, see [the official doc](https://github.com/fallahn/tmxlite/wiki/Quick-Start)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplelo%2Fsdl2-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapplelo%2Fsdl2-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplelo%2Fsdl2-template/lists"}