Skip to content

Add SDK.Sound #2

@victorpopkov

Description

@victorpopkov

Verify

  • I understand that if I ignore these instructions, my issue may be closed without review.
  • I have made sure that there are no similar opened issues.
  • I have made sure that the SDK version matches the latest release.

Is your feature request related to a problem? Please describe.

I'm always frustrated when it comes to the sound. Even though it's pretty straightforward to work with entities, SoundEmitter, it would make sense to make some functionality part of an SDK.

For example, disabling music:
https://github.com/dstmodders/dst-mod-auto-join/blob/a4976ba5abd1163b44b08bd3c3798616ae1160e6/modmain.lua#L88

Or probably working with volume, gameplay-related stuff, etc. No need to overcomplicate, just add some stuff we might need.

Describe the solution you'd like

Add a "Sound" module with the mentioned features.

Describe alternatives you've considered

If applicable, add a clear and concise description of any alternative solutions or features you've considered.

Additional context

If applicable, add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions