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

Client-sided dungeon score calculation #497

Closed
wants to merge 9 commits into from
Closed

Client-sided dungeon score calculation #497

wants to merge 9 commits into from

Conversation

Emirlol
Copy link
Collaborator

@Emirlol Emirlol commented Jan 16, 2024

The score shown in the scoreboard is updated very late and is never equal to what score you would get if you went and completed the dungeon at that moment. That goes against its purpose and makes it harder to judge when the score is enough for S or S+. This PR is for calculating score client-side with the info gathered from various places, allowing the player to see when the score is enough.

I'm mostly confident in the calculation's accuracy, but I'm not very sure if I've handled mimics right so do let me know if you see any mistakes or any alternative ways to do it.

I've also added score to the HUD with customizable location & size, but it's a bit messy as I simply patched the dungeon map config with the relevant things. It could be improved further, especially if there are plans to add more HUD elements.

@AzureAaron AzureAaron added the reviews needed This PR needs reviews label Jan 16, 2024
@Emirlol Emirlol closed this Jan 17, 2024
@AzureAaron AzureAaron removed the reviews needed This PR needs reviews label Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants