-
Notifications
You must be signed in to change notification settings - Fork 109
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
Replace hard limits to highscore saving with configurable limits #983
base: master
Are you sure you want to change the base?
Conversation
Download the artifacts for this pull request:
This service is provided by nightly.link. These artifacts will expire in 90 days and will not be available for download after that time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All in all it's good, but some minor changes are needed.
And there is one question belonging layout things.
Great, I updated the formatting and prefix notation related stuff. Let me know what you think about the replies regarding the layout and function name. |
Yes I would, but I see only the code changes. Did you save the comments? |
Do these links work? |
It's strange. In the popups of the links I see the start of your comment but a click doesn't lead me to them. And I cannot find them anywhere in the pr. @Baklap4 could this be a rights problem? |
That's odd, I'm on mobile but I'll try to copy the comments content here: #1 regarding the function name Which one do you prefer? #2 regarding the length of the displayed high scores This is 640x480: The last two lines could overlap with a long song title. The same is true for 14 song entries. With 12 it only very slightly reaches into the song title box: Personally I don't mind the list reaching that far down but I understand if you prefer to keep it smaller. We could also make the list length configurable. Or we could align the scores to the vertical top instead of center, then there would be quite a bit more space. |
My comments regarding some thoughts I had on specific sections of the code ended up being their own review, does that show up for you? It shows up for me, almost at the top of this thread. And my answers to your comments are there as well, for some reason. I'm pretty sure I used the reply function to respond to your review comments for those, though. Quite strange. |
Ok I understand your point. But a function name should always describe what the function is doing, not where it should be used ;-) You'll never know who could use the function where in the future. So I prefer But maybe I miss a thing. If you (@BWagener) are able to relate to call it simple |
Yeah I think it'd clash with the existing |
Yes, I agree completely 👍 Good suggestion. Take it and I will finish the review. Can you write some test hints to the pr description? Then we search someone how will test it or I will test it on Windows 11 next week. |
Great, I updated the PR description and I updated the function name in the latest commit. I updated the function docs to reflect what the functions currently do - the addSong docs seemed a bit outdated so I updated that too. |
5aebf42
to
00b3e04
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I personally find the score minimum diminishes the fun of using performous, since for various reasons, I am typically unable to attain a score over 2000. It would be nice if I could at least track my progress from tragic up to terrible. |
I'd also be in favor of changing the default minimum score required for saving. I can imagine removing it completely might not be desirable though, I haven't tested how the score saving screen behaves in that case. How about 100? |
Yes, something around that value, but larger than what one can score with line noise ;) |
Currently only the top 16 scores on a song will be saved. If a player achieves below 16 already saved scores their score will not be saved.
What does this PR do?
Motivation
This comes in handy when you are playing with players who score lower on average and currently can never save their scores, once a song has 16 scores saved for it.
How to test these changes
If you run the builds from this PR, the following new settings (settings->game) with defaults apply:
Also, up to the top 16 high scores should show up for each song.