{"id":21367870,"url":"https://github.com/satvikg7/sdl2-game-template","last_synced_at":"2025-03-16T08:11:58.729Z","repository":{"id":103635791,"uuid":"501505809","full_name":"SatvikG7/SDL2-Game-Template","owner":"SatvikG7","description":"SDL2 Starter Game Template implemented using OOPs Principles","archived":false,"fork":false,"pushed_at":"2022-06-09T04:49:44.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T20:27:20.115Z","etag":null,"topics":["cpp","game-template","sdl2"],"latest_commit_sha":null,"homepage":"","language":"C++","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/SatvikG7.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":"2022-06-09T04:39:24.000Z","updated_at":"2024-10-04T15:48:25.000Z","dependencies_parsed_at":"2023-05-24T03:30:18.769Z","dependency_job_id":null,"html_url":"https://github.com/SatvikG7/SDL2-Game-Template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SatvikG7%2FSDL2-Game-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SatvikG7%2FSDL2-Game-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SatvikG7%2FSDL2-Game-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SatvikG7%2FSDL2-Game-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SatvikG7","download_url":"https://codeload.github.com/SatvikG7/SDL2-Game-Template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243841222,"owners_count":20356446,"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":["cpp","game-template","sdl2"],"created_at":"2024-11-22T07:21:10.644Z","updated_at":"2025-03-16T08:11:58.702Z","avatar_url":"https://github.com/SatvikG7.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SDL2 Game Template\n\n[![SDL2](http://libsdl.org/media/SDL_logo.png \"visit\")](http://libsdl.org/)\n\n## Introduction\n\nThis repository contains the template for a SDL2 project which does the following things:\n\n- Implements Game loop for 60 fps\n- Creates window\n- Sets window icon and title\n- Creates and Renders background texture\n- Creates and Renders sprite\n- Handles keypress events\n\n\n## Requirements\n\n- MinGW toolkit (g++) (required)\n- Python (\u003e=3.8.x) (optional)\n\n\n## Libraries Required\n- SDL2\n- SDL_image\n\n\n## How to compile?\n\n1. Install and Extract \n    - SDL2 development libraries from https://libsdl.org/download-2.0.php\n    - Compiler specific development libraries of SDL_image from https://www.libsdl.org/projects/SDL_image/\n\n2. Copy\n    - SDL2/bin/* to bin/debug/ and bin/release/\n    - SDL2/include/* to include/\n    - SDL2/lib/* to lib/\n    - SDL_image/bin/* to bin/debug/ and bin/release/\n    - SDL_image/include/* to include/\n    - SDL_image/lib/* to lib/\n\n3. ```sh\n    make res\n\n    make run # to build and run debug executable\n    # or\n    make release # to build release executable\n    ```\n\n4. (Optional) You can make changes to generate_sprite.py files to make changes to sprite\n    ```sh\n    python generate_sprite.py\n\n    make res\n    ```\n\n5. Feel free to open an issue in this repo if you get any error\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatvikg7%2Fsdl2-game-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsatvikg7%2Fsdl2-game-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatvikg7%2Fsdl2-game-template/lists"}