Compare commits

..
Author SHA1 Message Date
EIREXE 598313f69d Implement being able to drop through soft platforms 2026-09-26 01:26:39 +02:00
EIREXE 099cd62e04 Add mechanism to ignore platforms
CI / build-and-test (pull_request) Successful in 1m31s
CI / production-build (pull_request) Successful in 10m12s
2026-09-25 20:43:19 +02:00
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -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 {
pass_queued, ref mut pass_queued,
} = &mut self.sub_state } = self.sub_state
{ {
if state_context if state_context
.input .input
+3 -2
View File
@@ -116,12 +116,13 @@ 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::LeftTrigger2), binding: GamepadBinding::Button(GamepadButton::LeftTrigger),
action: InputMapAction::Shield, action: InputMapAction::Shield,
}, },
GamepadInputMapElement { GamepadInputMapElement {
binding: GamepadBinding::Button(GamepadButton::RightTrigger2), binding: GamepadBinding::Button(GamepadButton::RightTrigger),
action: InputMapAction::Shield, action: InputMapAction::Shield,
}, },
// attack // attack