Integrate basic attack script debug.
This commit is contained in:
@@ -67,6 +67,11 @@ impl Plugin for FighterInputPlugin {
|
||||
key: KeyCode::ShiftLeft,
|
||||
action: InputMapAction::Shield,
|
||||
},
|
||||
// attack
|
||||
KeyboardInputMapElement {
|
||||
key: KeyCode::KeyJ,
|
||||
action: InputMapAction::Attack,
|
||||
},
|
||||
],
|
||||
gamepad: vec![
|
||||
// left stick
|
||||
@@ -92,6 +97,11 @@ impl Plugin for FighterInputPlugin {
|
||||
binding: GamepadBinding::Button(GamepadButton::RightTrigger),
|
||||
action: InputMapAction::Shield,
|
||||
},
|
||||
// attack
|
||||
GamepadInputMapElement {
|
||||
binding: GamepadBinding::Button(GamepadButton::East),
|
||||
action: InputMapAction::Attack,
|
||||
},
|
||||
],
|
||||
})
|
||||
.add_plugins(gamecube::GamecubeAdapterPlugin)
|
||||
|
||||
Reference in New Issue
Block a user