{"id":23516575,"url":"https://github.com/ambientrun/afps","last_synced_at":"2025-08-28T09:31:44.568Z","repository":{"id":182003646,"uuid":"659256113","full_name":"AmbientRun/afps","owner":"AmbientRun","description":"A moddable FPS game written with the Ambient engine","archived":true,"fork":false,"pushed_at":"2023-08-28T16:04:44.000Z","size":140652,"stargazers_count":6,"open_issues_count":6,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-26T06:33:06.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/AmbientRun.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}},"created_at":"2023-06-27T12:55:02.000Z","updated_at":"2024-04-15T08:16:35.000Z","dependencies_parsed_at":"2023-07-18T11:50:20.829Z","dependency_job_id":null,"html_url":"https://github.com/AmbientRun/afps","commit_stats":null,"previous_names":["ambientrun/afps"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AmbientRun/afps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmbientRun%2Fafps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmbientRun%2Fafps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmbientRun%2Fafps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmbientRun%2Fafps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmbientRun","download_url":"https://codeload.github.com/AmbientRun/afps/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmbientRun%2Fafps/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272476067,"owners_count":24940770,"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","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"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":"2024-12-25T15:14:11.361Z","updated_at":"2025-08-28T09:31:39.550Z","avatar_url":"https://github.com/AmbientRun.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deprecated\n\nThis game has been moved to [the Ambient repository](https://github.com/AmbientRun/Ambient/tree/main/guest/rust/packages/games/afps).\n\n---\n\n# AFPS Mods\n\nAFPS is a moddable FPS game written with the Ambient engine.\n\n## Run the game\n\nYou need to install Ambient first to run it.\n\n## Mod\n\nDifferent from most Ambient projects, this FPS game is organised with different mods.\n\nThe `Cargo.toml` includes several `bins` in orders. You can try to uncomment them group by group and run `ambient run --clean-build` to see how these mods are put up together.\n\n\u003e If it's your first time to run, just call `ambient run` without `--clean-build`.\n\n```toml\n\n# Group 1: show the UI\n# This include the aiming cross in the middle of the screen\n# Use TAB key to toggle the scoreboard\n# The \"Rule\" mod provides the calculation for player's score/health, etc.\n# It's also the foundation of the future animation mod\n# When the player health changes, \"Hit\" or \"Death\" animation will be triggered\n\n[[bin]]\nname = \"fpsui_client\"\npath = \"src/fpsui/client.rs\"\nrequired-features = [\"client\"]\n\n[[bin]]\nname = \"fpsui_server\"\npath = \"src/fpsui/server.rs\"\nrequired-features = [\"server\"]\n\n[[bin]]\nname = \"fpsrule_server\"\npath = \"src/fpsrule/server.rs\"\nrequired-features = [\"server\"]\n\n# Group 2: show the scene\n# For now, I only put a demo quad there, you can edit this as the game scene\n\n[[bin]]\nname = \"scene_server\"\npath = \"src/scene/server.rs\"\nrequired-features = [\"server\"]\n\n# Group 3: show the players' model\n# This will show a T-pose player and you cannot move\n\n[[bin]]\nname = \"fpsmodel_client\"\npath = \"src/fpsmodel/client.rs\"\nrequired-features = [\"client\"]\n\n[[bin]]\nname = \"fpsmodel_server\"\npath = \"src/fpsmodel/server.rs\"\nrequired-features = [\"server\"]\n\n# Group 4: add the movement system\n# Now you can move your model with mouse/keyboard\n\n[[bin]]\nname = \"fpsmovement_client\"\npath = \"src/fpsmovement/client.rs\"\nrequired-features = [\"client\"]\n\n[[bin]]\nname = \"fpsmovement_server\"\npath = \"src/fpsmovement/server.rs\"\nrequired-features = [\"server\"]\n\n# Group 5: Animation\n\n[[bin]]\nname = \"fpsanim_server\"\npath = \"src/fpsanim/server.rs\"\nrequired-features = [\"server\"]\n\n# Group 6: The audio system\n\n[[bin]]\nname = \"fpsaudio_client\"\npath = \"src/fpsaudio/client.rs\"\nrequired-features = [\"client\"]\n\n[[bin]]\nname = \"fpsaudio_server\"\npath = \"src/fpsaudio/server.rs\"\nrequired-features = [\"server\"]\n\n# Group 7: Optional and unfinished Zombie system\n# The Zombie rules and health/hit anim is not included yet\n# They simply spawan and chase the nearest player\n\n# [[bin]]\n# name = \"zombie_server\"\n# path = \"src/zombie/server.rs\"\n# required-features = [\"server\"]\n\n# [[bin]]\n# name = \"zombie_client\"\n# path = \"src/zombie/client.rs\"\n# required-features = [\"client\"]\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fambientrun%2Fafps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fambientrun%2Fafps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fambientrun%2Fafps/lists"}