Replies: 2 comments
-
I think here might work better? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Something to consider for the new song select design for sure. I started on this but am not going to continue since the code is likely being rewritten. diff --git a/osu.Game/Screens/Select/BeatmapDetails.cs b/osu.Game/Screens/Select/BeatmapDetails.cs
index 2bb60716ff..bcfb5c77cd 100644
--- a/osu.Game/Screens/Select/BeatmapDetails.cs
+++ b/osu.Game/Screens/Select/BeatmapDetails.cs
@@ -44,6 +44,11 @@ public partial class BeatmapDetails : Container
private int[]? ratings;
+ private readonly OsuSpriteText playcountText;
+
+ private int playcountDifficulty;
+ private int playcountSet;
+
public IBeatmapInfo? BeatmapInfo
{
get => beatmapInfo;
@@ -147,15 +152,33 @@ public BeatmapDetails()
RelativeSizeAxes = Axes.Both,
Children = new Drawable[]
{
- new OsuSpriteText
- {
- Text = BeatmapsetsStrings.ShowInfoPointsOfFailure,
- Font = OsuFont.GetFont(weight: FontWeight.Bold, size: 14),
- },
- failRetryGraph = new FailRetryGraph
+ new FillFlowContainer
{
RelativeSizeAxes = Axes.Both,
- Padding = new MarginPadding { Top = 14 + spacing / 2 },
+ Direction = FillDirection.Vertical,
+ Children = new Drawable[]
+ {
+ new OsuSpriteText
+ {
+ Text = BeatmapsetsStrings.ShowStatsPlaycount,
+ Font = OsuFont.GetFont(weight: FontWeight.Bold, size: 14),
+ },
+ playcountText = new OsuSpriteText
+ {
+ Text = string.Empty,
+ Font = OsuFont.GetFont(weight: FontWeight.Regular, size: 14),
+ },
+ new OsuSpriteText
+ {
+ Text = BeatmapsetsStrings.ShowInfoPointsOfFailure,
+ Font = OsuFont.GetFont(weight: FontWeight.Bold, size: 14),
+ },
+ failRetryGraph = new FailRetryGraph
+ {
+ RelativeSizeAxes = Axes.Both,
+ Padding = new MarginPadding { Top = 14 + spacing / 2 },
+ },
+ }
},
},
},
@@ -200,6 +223,8 @@ private void updateStatistics()
ratings = res.BeatmapSet?.Ratings;
failTimes = res.FailTimes;
+ playcountDifficulty = res.PlayCount;
+ playcountSet = res.BeatmapSet?.PlayCount ?? 0;
updateMetrics();
});
@@ -241,6 +266,8 @@ private void updateMetrics()
{
failRetryGraph.FailTimes = failTimes;
failRetryContainer.FadeIn(transition_duration);
+
+ playcountText.Text = $"{playcountSet:N0} (this difficulty: {playcountDifficulty:N0})";
}
else
{
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It is very difficult to see how many plays you have on a certain map, when it is not in your most played beatmaps, which has been addressed before in this thread: https://osu.ppy.sh/community/forums/topics/326016
I wonder if it is possible to try and incorporate a counter in the song select UI so you can know how many total plays you have of each map.
For example maybe this spot under the user rating:
(text is "playcount: x", ignore the awful art)
Please do comment any better positions or drawings that you may have, but as a player it would be very nice to know how many times I have played these maps.
Beta Was this translation helpful? Give feedback.
All reactions