uyitroa / osr2mp4-core

A program to convert osu replay file osr to mp4. Sample: https://www.youtube.com/watch?v=5ugu_9yDSg0
MIT License
118 stars 14 forks source link

(more accurate?) relax spinner #41

Closed Hazuki-san closed 3 years ago

Hazuki-san commented 4 years ago

based on this line of code

if (velocityTheoretical > velocityCurrent)
    velocityCurrent += Math.Min(velocityTheoretical - velocityCurrent, velocityCurrent < 0 && Player.Relaxing ? maxAccelThisFrame / RELAX_BONUS_ACCEL : maxAccelThisFrame);
else
    velocityCurrent += Math.Max(velocityTheoretical - velocityCurrent, velocityCurrent > 0 && Player.Relaxing ? -maxAccelThisFrame / RELAX_BONUS_ACCEL : -maxAccelThisFrame);
uyitroa commented 4 years ago

Can you provide the source?

Hazuki-san commented 4 years ago

@uyitroa https://ghostbin.co/paste/ofgux

Hazuki-san commented 4 years ago

Sorry, I edited wrong line ... LOL

uyitroa commented 4 years ago

Where did you get the source code though, because as far as I know osu! stable isn't open source.

uyitroa commented 4 years ago

Anyway I'll need to figure out how to make a correct rpm meter first lol. Because the one I'm using is wrong.

Hazuki-san commented 4 years ago

If you need some game related code, I'll try to find it for you. If you got Discord Aoba Suzukaze#0900 is my Discord :p

uyitroa commented 4 years ago

You disabled friend requests from everyone. Try adding me instead: uyitroa#3392