Implement crouching (#62)
CI / build-and-test (push) Successful in 1m29s
CI / production-build (push) Successful in 10m48s

Reviewed-on: #62
Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
This commit was merged in pull request #62.
This commit is contained in:
2026-09-25 18:14:09 +00:00
committed by EIREXE
parent b56b7b0421
commit 946bbc4cbd
4 changed files with 134 additions and 2 deletions
+3 -2
View File
@@ -3,8 +3,7 @@
//! bit-for-bit deterministic for rollback.
use crate::fighter::state::{
CollisionContext, FighterState, InterruptContext, air, dash, fall, ground_attack, turn, wait,
walk,
CollisionContext, FighterState, InterruptContext, air, crouch, dash, fall, ground_attack, turn, wait, walk,
};
use crate::fighter::{
FighterAttributes, FighterPreviousTranslation, FighterTranslation, FighterVelocity,
@@ -461,6 +460,8 @@ pub fn grounded_movement_standstill_common_interrupts(
Some(state)
} else if let Some(state) = turn::check_input(state_context) {
Some(state)
} else if let Some(state) = crouch::check_input(state_context) {
Some(state)
} else if let Some(state) = walk::check_input(state_context) {
Some(state)
} else if let Some(state) = wait::check_input(state_context) {