blueberrymuffin3 / osu-js

https://osu-js.pages.dev
MIT License
2 stars 1 forks source link

Render objects that start before 0 ms. #57

Closed kionell closed 2 years ago

kionell commented 2 years ago

This also fixes some bugs related to storyboard samples. Timeline objects don't start playing if they have already ended. For example, this beatmap doesn't hurt your ears anymore.

Before: https://osu-js.pages.dev/play/?26547 After: https://41d9767e.kionell-osu-js.pages.dev/play/?26547

kionell commented 2 years ago

I hope I did it right because I don't have any beatmap where the audio ends before everything else. These are super hard to find and I don't know if it's even possible.

blueberrymuffin3 commented 2 years ago

@kionell I had a good example at the time, but I totally forgot what it was... At least it prevents the cursor and progress bar from glitching out when the song ends.