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