1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 04:19:53 +08:00
Commit Graph

3 Commits

  • Make JuiceStreamPath time based instead of distance based.
    And remove the "slope limit" feature.
    TODO: for a juice stream with a large slope, the slider velocity of the hit object should be changed.
  • Remove bindable usage in PathControlPoint
    This is quite a breaking change, but I think it is beneficial due to the large amount of usage of this class.
    
    I originally intended just to remove the allocations of the two delegates handling the `Changed` flow internally, but as nothing was really using the bindables for anything more than a general "point has changed" case, this felt like a better direction.
  • Add tests of JuiceStreamPath.
    "Property testing" is heavily used, tests that generates random cases and asserting properties.
    That gives high confidence of round-trip correctness of `SliderPath` conversion, for example.