Compare commits

..
Author SHA1 Message Date
EIREXE e80a961021 Make triggers be bound to airdodge on non-gamecube controllers
CI / production-build (pull_request) Successful in 10m30s
CI / build-and-test (pull_request) Successful in 1m45s
2026-09-26 13:28:36 +02:00
EIREXE 615872f29c Implement being able to drop through soft platforms (#64)
CI / build-and-test (push) Successful in 1m47s
CI / production-build (push) Successful in 10m53s
Reviewed-on: #64
Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
2026-09-26 10:38:51 +00:00
EIREXE 66a817cd05 Add mechanism to ignore platforms (#63)
CI / build-and-test (push) Successful in 1m30s
CI / production-build (push) Successful in 10m48s
Reviewed-on: #63
Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
2026-09-25 21:43:49 +00:00
2 changed files with 4 additions and 5 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 {
ref mut pass_queued, pass_queued,
} = self.sub_state } = &mut self.sub_state
{ {
if state_context if state_context
.input .input
+2 -3
View File
@@ -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