-
Notifications
You must be signed in to change notification settings - Fork 34
Animation-bound sound keeps playing after the animation stops #1376
Copy link
Copy link
Open
Description
Background
In spx, an animation can bind to a sound so that the sound is played automatically while the animation is playing.
There is currently a bug in this behavior: after the animation stops, the bound sound does not stop with it and keeps playing.
Reproduction
A reproducible example is available here:
Steps:
- Open the project above
- Click somewhere on the grass so the cow starts walking toward that position
- Wait until the cow finishes walking
Actual behavior
- The walking animation stops
- The walking sound keeps playing after the animation has already stopped
Expected behavior
- The walking sound should stop when the animation stops
- After the cow finishes walking, there should no longer be any walking sound
Notes
This issue is about animation-bound sound lifecycle. If a sound is started automatically because of an animation binding, it should also stop automatically when that animation ends.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels