1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 12:22:57 +08:00
osu-lazer/osu.Game.Tests/Visual
Bartłomiej Dach 67ca7e4135
Implement toggling visibility of pass and fail storyboard layers
Closes https://github.com/ppy/osu/issues/6842.

This is a rather barebones implementation, just to get this in place
somehow at least. The logic is simple - 50% health or above shows pass
layer, anything below shows fail layer.

This does not match stable logic all across the board because I have
no idea how to package that. Stable defines "passing" in like fifty
ways:

- in mania it's >80% HP
  (bb57924c15/osu!/GameModes/Play/Rulesets/Mania/RulesetMania.cs#L333-L336)
- in taiko it's >80% *accuracy*
  (bb57924c15/osu!/GameModes/Play/Rulesets/Taiko/RulesetTaiko.cs#L486-L492)
- there's also the part where "geki additions" will unconditionally set
  passing state
  (bb57924c15/osu!/GameModes/Play/Player.cs#L3561-L3564)
- and also the part where at the end of the map, the final passing state
  is determined by checking whether the user passed more sections than
  failed
  (bb57924c15/osu!/GameModes/Play/Player.cs#L3320)

The biggest issues of these are probably the first two, and they can
*probably* be fixed, but would require a new member on `Ruleset` and I'm
not sure how to make one look, so I'm not doing that at this time
pending collection of ideas on how to do that.
2024-06-14 13:59:02 +02:00
..
Audio Rename NormalSliderBar.cs to RoundedSliderBar.cs 2023-02-02 17:24:45 +01:00
Background Attempt to fix test better 2024-03-16 12:15:12 +08:00
Beatmaps Pass the same thing in twice for better maybe 2024-05-27 20:30:01 +09:00
Collections Add failing test for adding collection w/ name colliding w/\ default items 2023-12-18 12:47:42 +01:00
Colours Automated pass 2023-06-24 01:00:03 +09:00
Components Partial everything 2022-11-27 00:00:27 +09:00
DailyChallenge Implement time remaining display for daily challenge screen 2024-06-12 11:43:24 +02:00
Editing Merge branch 'master' into grids-1 2024-06-03 12:33:51 +02:00
Gameplay Implement toggling visibility of pass and fail storyboard layers 2024-06-14 13:59:02 +02:00
Menus Add test coverage of menu banner link opening 2024-05-31 03:15:26 +09:00
Mods Move solution to multiplayer flow instead 2024-01-28 00:42:04 +03:00
Multiplayer Extract user mod select button for reuse 2024-06-10 12:45:27 +02:00
Navigation Merge branch 'master' into fix-editor-didnt-save 2024-05-24 10:16:46 +02:00
Online Remove unused ruleset parameter when testing beatmap in editor 2024-03-01 20:28:52 +08:00
Playlists Change ResultsScreen constructor boolean params to init-only properties 2024-02-22 20:15:03 +01:00
Ranking Merge pull request #27994 from bdach/timing-distribution-graph-only-basic 2024-04-26 01:36:16 +09:00
Settings Add failing tests 2024-04-23 12:41:33 +02:00
SongSelect Merge branch 'master' into footer-v2-become-global 2024-06-08 14:13:05 +03:00
UserInterface Merge branch 'master' into footer-v2-become-global 2024-06-08 14:13:05 +03:00
TestMultiplayerComponents.cs Partial everything 2022-11-27 00:00:27 +09:00
TestSceneOsuScreenStack.cs Rename AllowTrackAdjustments to more understandable ApplyModTrackAdjustments 2023-07-25 20:20:53 +09:00