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
+5
View File
@@ -31,6 +31,11 @@ pub struct FighterSettingsCommon {
/// Angle diff from straight up under which the attack will force an airborne state
pub attack_ground_to_airborne_transition_vertical_angle_threshold: FGi32,
pub visual_shake_frames_per_hitstop_frame: FGi32,
// offsets applied when the fighter is in hitstop
pub visual_shake_table: Vec<f32>,
/// The attacker will always get less hitstop
pub attacker_visual_shake_multiplier: f32,
}
#[derive(Reflect, Serialize, Deserialize, Clone)]
#[reflect(opaque)]