Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
598313f69d | ||
|
|
099cd62e04 |
@@ -120,8 +120,8 @@ impl FighterStateImpl for CrouchState {
|
||||
|
||||
fn update(&mut self, state_context: &mut UpdateContext) {
|
||||
if let CrouchSubState::Entering {
|
||||
pass_queued,
|
||||
} = &mut self.sub_state
|
||||
ref mut pass_queued,
|
||||
} = self.sub_state
|
||||
{
|
||||
if state_context
|
||||
.input
|
||||
|
||||
+3
-2
@@ -116,12 +116,13 @@ impl Plugin for FighterInputPlugin {
|
||||
binding: GamepadBinding::Button(GamepadButton::North),
|
||||
action: InputMapAction::Jump,
|
||||
},
|
||||
// shield/airdodge -- both shoulder buttons, Melee-style
|
||||
GamepadInputMapElement {
|
||||
binding: GamepadBinding::Button(GamepadButton::LeftTrigger2),
|
||||
binding: GamepadBinding::Button(GamepadButton::LeftTrigger),
|
||||
action: InputMapAction::Shield,
|
||||
},
|
||||
GamepadInputMapElement {
|
||||
binding: GamepadBinding::Button(GamepadButton::RightTrigger2),
|
||||
binding: GamepadBinding::Button(GamepadButton::RightTrigger),
|
||||
action: InputMapAction::Shield,
|
||||
},
|
||||
// attack
|
||||
|
||||
Reference in New Issue
Block a user