{"id":23170362,"url":"https://github.com/rust-arcade/bevy-rust-arcade","last_synced_at":"2025-08-18T07:31:40.601Z","repository":{"id":43839610,"uuid":"504211731","full_name":"rust-arcade/bevy-rust-arcade","owner":"rust-arcade","description":"A plugin for the Bevy engine that allows you to easily make your games compatible with the Rust Arcade Machine.","archived":false,"fork":false,"pushed_at":"2022-07-08T22:29:58.000Z","size":60552,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T20:46:43.350Z","etag":null,"topics":["arcade-machine","game-development"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rust-arcade.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}},"created_at":"2022-06-16T15:36:25.000Z","updated_at":"2025-02-16T20:15:17.000Z","dependencies_parsed_at":"2022-08-28T10:51:13.645Z","dependency_job_id":null,"html_url":"https://github.com/rust-arcade/bevy-rust-arcade","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rust-arcade/bevy-rust-arcade","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-arcade%2Fbevy-rust-arcade","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-arcade%2Fbevy-rust-arcade/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-arcade%2Fbevy-rust-arcade/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-arcade%2Fbevy-rust-arcade/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-arcade","download_url":"https://codeload.github.com/rust-arcade/bevy-rust-arcade/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-arcade%2Fbevy-rust-arcade/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270586496,"owners_count":24611318,"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-15T02:00:12.559Z","response_time":110,"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":["arcade-machine","game-development"],"created_at":"2024-12-18T04:12:51.071Z","updated_at":"2025-08-18T07:31:39.668Z","avatar_url":"https://github.com/rust-arcade.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bevy-rust-arcade\n\nA plugin for the [Bevy Engine](https://bevyengine.org/) that allows you to easily make your games compatible with Rust Arcade Machine. Learn more about the Rust Arcade project [here](https://twitter.com/carlosupina/status/1523715837726961664).\n\n![arcade-cabinet](assets/arcade_cabinet.gif)\n\nThis plugin wraps the relevent Bevy gamepad events in more descriptive names specific to the arcade cabinet, according to the image below.\n\n![arcade-input-diagram](assets/arcade_input_diagram.png)\n\nYou can test these inputs without accessing the arcade machine by using an xbox controller, they are mapped accordingly to the buttons below.\n\n![xbox-diagram](assets/xbox_diagram.png)\n\nBelow is some simple code from the input example to get you started.\n\n```rust\nuse bevy::prelude::*;\nuse bevy_rust_arcade::{ArcadeInputEvent, RustArcadePlugin};\n\nfn main() {\n    App::new()\n        .add_plugins(DefaultPlugins)\n        .add_plugin(RustArcadePlugin)\n        .add_system(arcade_event_system)\n        .run();\n}\n\n// Read arcade input events\nfn arcade_event_system(mut arcade_input_events: EventReader\u003cArcadeInputEvent\u003e) {\n    for event in arcade_input_events.iter() {\n        info!(\n            \"{:?} of {:?} is changed to {}\",\n            event.arcade_input, event.gamepad, event.value\n        );\n    }\n}\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-arcade%2Fbevy-rust-arcade","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-arcade%2Fbevy-rust-arcade","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-arcade%2Fbevy-rust-arcade/lists"}