{"id":33919694,"url":"https://github.com/peterhellberg/fps","last_synced_at":"2026-05-31T02:31:32.772Z","repository":{"id":325448219,"uuid":"1101211235","full_name":"peterhellberg/fps","owner":"peterhellberg","description":"A simple FPS in Zig, based on https://github.com/lizard-demon/fps","archived":false,"fork":false,"pushed_at":"2026-02-11T21:44:07.000Z","size":393,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-12T06:04:13.181Z","etag":null,"topics":["example","fps","zig"],"latest_commit_sha":null,"homepage":"https://play.c7.se/fps/","language":"Zig","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/peterhellberg.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-21T10:56:17.000Z","updated_at":"2026-02-11T21:44:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/peterhellberg/fps","commit_stats":null,"previous_names":["peterhellberg/fps"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peterhellberg/fps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Ffps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Ffps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Ffps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Ffps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterhellberg","download_url":"https://codeload.github.com/peterhellberg/fps/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Ffps/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33717415,"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-05-31T02:00:06.040Z","response_time":95,"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":["example","fps","zig"],"created_at":"2025-12-12T08:59:32.040Z","updated_at":"2026-05-31T02:31:32.742Z","avatar_url":"https://github.com/peterhellberg.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FPS\n\nA simple FPS in [Zig](https://ziglang.org), \nbased on \u003chttps://github.com/lizard-demon/fps\u003e\n\n\u003e [!Note]\n\u003e Requires Zig 0.15.2+\n\n## Screenshot\n\n![Screenshot](/img/fps.png)\n\n## Build\n\nBuild a small native binary;\n\n```sh {name=build}\nzig build --release=small\n```\n\n\u003e [!Tip]\n\u003e The `--release` flag for `zig build` takes the following values:\n\u003e\n\u003e - `fast`\n\u003e - `safe`\n\u003e - `small`\n\n### Run\n\nBuild and run a small native binary;\n\n```sh {name=native}\nzig build run --release=small\n```\n\nBuild and run a small [WebAssembly](https://webassembly.org/) binary in your browser;\n\n```sh {name=web}\nzig build run --release=small -Dtarget=wasm32-emscripten\n```\n\n### Test\n\nYou can run all the test cases like this;\n\n```sh {name=test}\nzig build test\n```\n\n## Input\n\nKey           | Action\n--------------|------------------\n**W,A,S,D**   | Move\n**Mouse**     | Look around  \n**Space**     | Jump (with audio)\n**Click**     | Capture mouse\n**Escape**    | Release mouse\n**Q**         | Quit\n**P**         | Print player state\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterhellberg%2Ffps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterhellberg%2Ffps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterhellberg%2Ffps/lists"}