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

Enhancement: Future-proof difficulty star visuals #3075

Open
2 tasks done
LukerUpgradez opened this issue Jul 30, 2024 · 1 comment
Open
2 tasks done

Enhancement: Future-proof difficulty star visuals #3075

LukerUpgradez opened this issue Jul 30, 2024 · 1 comment
Labels
status: pending triage The bug or PR has not been reviewed yet. type: enhancement Provides an enhancement or new feature.

Comments

@LukerUpgradez
Copy link

Issue Checklist

  • I have properly named the enhancement
  • I have checked the issues/discussions pages to see if the enhancement has been previously suggested

What is your suggestion, and why should it be implemented?

The freeplay menu visuals currently handle difficulties up to level 15, and it's been stated that the maximum difficulty will likely be 20. But what if those plans change, and the maximum level is raised to 30? Or, more likely, a player/modder wants to use a difficulty level higher than 20 for their song chart? It might be useful to have some functionality for this prepared, if only to give the engine more versatility.

A simple solution would be to re-shade the flames as a different color for each range of ten. For example, let's say 11-20 has blue flames, 21-30 has purple flames, 31-40 has red flames, and so on, with each loop being a darker shade from the last. This could be handled by some kind of formula so the colors aren't hard coded.

I don't work in Haxe so I can't give exact code ideas, but I imagine you could take advantage of the difficulty visual being handled in multiples of 10 to simplify the process. curDifficulty / 10 gives you the shade for all of the stars (2 for blue, 3 for purple, 4 for red, etc.), while curDifficulty % 10 gives you the number of stars that need the shade curDifficulty / 10 + 1.

@LukerUpgradez LukerUpgradez added status: pending triage The bug or PR has not been reviewed yet. type: enhancement Provides an enhancement or new feature. labels Jul 30, 2024
@Cartridge-Man
Copy link

After reading this my brain turned to ooze on why in the first place that the game has both a difficulty level next to songs and then difficulty stars below the album art lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: pending triage The bug or PR has not been reviewed yet. type: enhancement Provides an enhancement or new feature.
Projects
None yet
Development

No branches or pull requests

2 participants