daid / daid/EmptyEpsilon

Stop (Fade Out) Sounds in Scripts

Open
#532 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
869
Forks
222
Avg merge
18h 33m
Merged PRs (30d)
1

Description

Hello daid, I'll keep my request short.
It would be very helpful for my group if we had fade out (fade speed, maybe??) added to scriptable sounds. A way to end sound files early, but not too abruptly would greatly be appreciated.

It would allow one of my members to configure music based on scriptable cues, such as 10 enemies near the player triggers more intense music than one fighter. While this is technically possible now, sometimes a track needs to be ended early. If this is at all possible, it would be greatly appreciated!! :)
k9lego

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the scriptable sound API and the existing sound playback or stop entry points. Determine how a script could request an early end with a configurable fade speed; done means scriptable sounds can fade out instead of stopping abruptly, with the behavior covered by the project's relevant tests or examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.