{"id":25063027,"url":"https://github.com/naftali100/sfml-template","last_synced_at":"2026-06-19T16:31:15.120Z","repository":{"id":172416983,"uuid":"478240163","full_name":"naftali100/sfml-template","owner":"naftali100","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-02T19:34:21.000Z","size":5718,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"stable","last_synced_at":"2025-11-05T21:32:09.821Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/naftali100.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-04-05T17:49:20.000Z","updated_at":"2022-04-24T10:07:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"df19c2e3-5685-4bab-9d90-90124dee365d","html_url":"https://github.com/naftali100/sfml-template","commit_stats":null,"previous_names":["naftali100/sfml-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/naftali100/sfml-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naftali100%2Fsfml-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naftali100%2Fsfml-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naftali100%2Fsfml-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naftali100%2Fsfml-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naftali100","download_url":"https://codeload.github.com/naftali100/sfml-template/tar.gz/refs/heads/stable","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naftali100%2Fsfml-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34539645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-02-06T17:35:26.418Z","updated_at":"2026-06-19T16:31:15.088Z","avatar_url":"https://github.com/naftali100.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sfml-template\n\ncross platform sfml project template with a lot of stuff built in for easy and quick start.\n\nc++20 required \n\nWIP.\n\n# how to use\n\n- add new state that inherits from State class.\n  \n  ```cpp\n  class MyState: public State {\n  public:\n    using State::State\n    // override State's pure methods\n  private:\n    // all what the state need\n    sf::Sprite m_player;\n  };\n  ```\n- set the entry state in game class before the game loop.\n- compile and run.\n\n# what's in\n\n- states\n- animation (using texture atlas)\n- easy resource management\n- particle system (not the most efficient)\n- tile map\n- advance camera (with movements, zoom and adjustments to window resize in various ways)\n- logging with plog, integrate sfml with plog\n- sfml utilities\n- imgui\n- easy testing\n- gui - WIP\n\n# todo\n\n- quad tree.\n- update particle system to use VertexArray and batch rendering (or keep it with drawable?)\n- states factories. (?)\n\n# Credits\n\n- SFML's wiki (particle system, animation, tileMap, latterBox view)\n- [ImGui](https://github.com/ocornut/imgui)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaftali100%2Fsfml-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaftali100%2Fsfml-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaftali100%2Fsfml-template/lists"}