Crate ssbm_utils

source ·
Expand description

§SSBM Utils

A crate for interacting with data from Super Smash Bros. Melee. Contains enums, helper types, and various functions to replicate in-game calculations

Modules§

  • Contains an assortment of helper functions to determine when various events occur in replays.
  • Trackers are small, self contained structs that keep track of in-game parameters through an update method. These are useful in stats code for tracking things like tech lockout windows and state transitions

Macros§

  • Converts a melee frame index (i32 starting at -123) to a real-time frame index (usize starting at 0)
  • Constructor macro for Position structs. Accepts 2 values that can be as f32 casted.
  • Constructor macro for StickPosition structs. Accepts 2 values that can be as f32 casted.
  • Constructor macro for Velocity structs. Accepts 2 values that can be as f32 casted.