Add airdodge

This commit is contained in:
2026-08-26 22:04:41 +02:00
parent d9222409ce
commit e7e744f15e
12 changed files with 137 additions and 5 deletions
+8
View File
@@ -57,6 +57,13 @@ pub enum AppState {
MatchLoadFailed,
}
pub fn show_gamepads(q: Query<(&Name, &Gamepad)>) {
info!("GP:");
for (name, gp) in q {
info!("Gamepad detected: {}", name);
}
}
/// Your game's Bevy plugin. The editor finds it by this name (override
/// with `plugin = "..."` in jackdaw.toml) and runs it on Play; the
/// standalone binary adds it in `main.rs`.
@@ -99,6 +106,7 @@ impl Plugin for GamePlugin {
.on_failure_continue_to_state(AppState::CommonAssetLoadFailed)
.load_collection::<fighter::manifest::FighterManifestAssets>(),
)
.add_systems(Startup, show_gamepads)
.add_systems(
OnEnter(AppState::PrepareFighterManifests),
fighter::manifest::prepare_fighter_manifests,