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

Add looping and muted properties to the sound object #93

Open
literary-programmer opened this issue Sep 7, 2024 · 0 comments
Open

Add looping and muted properties to the sound object #93

literary-programmer opened this issue Sep 7, 2024 · 0 comments

Comments

@literary-programmer
Copy link
Contributor

The sound object has a play_looped() method that allows a sound to keep repeating. However, there is currently no way to check if a sound is looping. Please add a bool looped property to the sound object, so users can set and get this property.

Muting is an important feature for sounds. Unfortunately, neither BGT nor NVGT provides built-in support for muting. Developers currently have to manually set the sound volume to -100 to mute and back to 0 to unmute. I propose adding true muting functionality to the sound object. When a sound is muted, it should store the current volume. Upon setting the muted property to false, the volume should be restored to its previous value.

Please consider adding these features as they would offer greater control over sound management.

Thank you.

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

No branches or pull requests

1 participant