Implement hitstop shake (#42)
CI / build-and-test (push) Successful in 1m22s

Reviewed-on: #42
Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
This commit was merged in pull request #42.
This commit is contained in:
2026-09-18 11:56:53 +00:00
committed by EIREXE
parent b9f1a52bbc
commit 2b5af49e15
19 changed files with 201 additions and 57 deletions
+12
View File
@@ -96,6 +96,12 @@ impl FighterStateImpl for JumpSquatState {
state_context.play_animation(AnimKind::JumpSquat, false);
state_context.input.clear_command(FighterCommands::Jump);
}
fn is_visually_grounded<'a>(
&'a self,
) -> bool {
true
}
}
impl FighterStateImpl for JumpState {
@@ -174,6 +180,12 @@ impl FighterStateImpl for JumpState {
crate::fighter::state::land::LandingType::Normal,
)
}
fn is_visually_grounded<'a>(
&'a self,
) -> bool {
false
}
}
pub fn check_input(