{"id":22141365,"url":"https://github.com/jbrosdevelopment/sfml_game_loop","last_synced_at":"2026-01-15T22:15:14.067Z","repository":{"id":256669111,"uuid":"856079160","full_name":"JBrosDevelopment/SFML_Game_Loop","owner":"JBrosDevelopment","description":"A simple game loop class system that adds Start and Update functions to your SFML.Net project","archived":false,"fork":false,"pushed_at":"2024-09-23T01:03:00.000Z","size":1093,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T22:41:50.123Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/JBrosDevelopment.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":"2024-09-12T00:31:40.000Z","updated_at":"2024-09-23T01:03:04.000Z","dependencies_parsed_at":"2024-09-12T10:34:40.522Z","dependency_job_id":"d01297b8-80e8-46fb-8c84-ac9b34b01ede","html_url":"https://github.com/JBrosDevelopment/SFML_Game_Loop","commit_stats":null,"previous_names":["jbrosdevelopment/sfml_game_loop"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JBrosDevelopment/SFML_Game_Loop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBrosDevelopment%2FSFML_Game_Loop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBrosDevelopment%2FSFML_Game_Loop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBrosDevelopment%2FSFML_Game_Loop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBrosDevelopment%2FSFML_Game_Loop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JBrosDevelopment","download_url":"https://codeload.github.com/JBrosDevelopment/SFML_Game_Loop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBrosDevelopment%2FSFML_Game_Loop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28472624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T22:13:38.078Z","status":"ssl_error","status_checked_at":"2026-01-15T22:12:11.737Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-12-01T21:12:47.356Z","updated_at":"2026-01-15T22:15:14.053Z","avatar_url":"https://github.com/JBrosDevelopment.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SFML Game Loop\n\nInstall with Nuget:\n\u003e `dotnet add package SFML_Game_Loop`\n\nA simple game loop class system that adds Start and Update functions to your SFML.Net project\n\n```cs\nusing SFML.Graphics;\nusing SFML.Window;\nusing SFML_Game_Loop;\n\npublic static class Program\n{\n    public static void Main(string[] args)\n    {\n        MainMenu mainMenu = new();\n        mainMenu.BeginRoutine();\n    }\n}\n\nclass MainMenu : WindowRoutine\n{\n    public MainMenu() :\n        base(new VideoMode(600, 400), \"Main Menu\", Styles.Default, new Color(255, 255, 255))\n    {\n    }\n\n    public override void Start()\n    {\n        button = new Button(\n            position: new Vector2f(Center.X - 250, Center.Y - 75),\n            size: new Vector2f(500, 180),\n            color: new Color(125, 125, 125, 125),\n            fontColor: new Color(225, 225, 225),\n            text: \"PLAY!\",\n            charSize: 48);\n        button.Clicked += ButtonClicked;\n        Elements.Add(button);\n    }\n\n    public override void Update(double delta)\n    {\n\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbrosdevelopment%2Fsfml_game_loop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbrosdevelopment%2Fsfml_game_loop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbrosdevelopment%2Fsfml_game_loop/lists"}