Fix leftward run acceleration direction #11

Closed
opened 2026-09-15 16:42:52 +00:00 by EIREXE · 0 comments
Owner

Severity: High\n\nRunState passes FGi32::ONE as the direction to get_accel_and_target_dashrun at src/fighter/state/run.rs:39-44. The helper adds direction * base_dash_accel (src/fighter/attributes.rs:61-63), so leftward running receives rightward base acceleration.\n\nFix: pass the current movement/facing sign and add left/right movement tests.

Severity: High\n\nRunState passes FGi32::ONE as the direction to get_accel_and_target_dashrun at src/fighter/state/run.rs:39-44. The helper adds direction * base_dash_accel (src/fighter/attributes.rs:61-63), so leftward running receives rightward base acceleration.\n\nFix: pass the current movement/facing sign and add left/right movement tests.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: EIREXE/shinespark#11