Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show results screen when reaching the end of a failed replay #30617

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

peppy
Copy link
Member

@peppy peppy commented Nov 14, 2024

Addresses #30577.

Consider this a RFC. There's multiple ways this could be implemented, but I went for the most stand-alone approach, bypassing all the score preparation and progress logic (because it's probably simplest this way?).

osu.2024-11-14.at.06.36.03.mp4

Addresses ppy#30577.

Consider this a RFC. There's multiple ways this could be implemented,
but I went for the most stand-alone approach, bypassing all the score
preparation and progress logic (because it's probably simplest this
way?).
@bdach
Copy link
Collaborator

bdach commented Nov 14, 2024

Visually I guess this is fine. The code I have more issues with. The fail flow feels very haphazard. There is now

  • Player.onFail()
  • Player.Configuration.AllowFailAnimation
  • Player.ShowFailOverlay
  • Player.OnFail()

which are weirdly intermingled and interdependent and three of those are overridable. I guess the diff is relatively slim in isolation so it's difficult for me to attempt to justify some huge refactor but I'd say that this is the last possible change I'd be willing to let slide with these flows, next time these get touched they are 100% getting refactored to something saner.

Just to leave on something actionable I guess: do you see some option wherein this could get streamlined more?

@peppy
Copy link
Member Author

peppy commented Nov 14, 2024

I'll give this another attempt while also addressing concerns in the issue (wanting to pause and rewind instead of show results), which basically requires not playing the fail animation anyway (might be able to use that flag).

@peppy peppy marked this pull request as draft November 14, 2024 10:07
@Gabixel
Copy link
Contributor

Gabixel commented Nov 14, 2024

I think this also covers #22298 (by simply not showing the fail screen at all in replays).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants