Skip to content

Conversation

@Starexify
Copy link
Contributor

Description

This PR improves the game's codebase by adding audio paths as constants, using already existing constants as values and removing duplicate constants that are found in different classes and contain the same values.

Modding

Modders can now easily change core engine sounds (like the screenshot, volume sounds or chart editor sounds) by modifying these values. This removes the need to hunt through different states or sound pools to stop or replace the sound.

@github-actions github-actions bot added status: pending triage Awaiting review. size: huge A huge pull request with more than 500 changes. pr: haxe PR modifies game code. and removed size: huge A huge pull request with more than 500 changes. labels Jan 11, 2026
@Hundrec Hundrec added type: enhancement Involves an enhancement or new feature. size: huge A huge pull request with more than 500 changes. topic: mods Related to the creation or use of mods. labels Jan 12, 2026
Copy link

@notkaif notkaif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

magic strings begone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: haxe PR modifies game code. size: huge A huge pull request with more than 500 changes. status: pending triage Awaiting review. topic: mods Related to the creation or use of mods. type: enhancement Involves an enhancement or new feature.

Development

Successfully merging this pull request may close these issues.

3 participants