Audio can be played only oncey
tiehu opened this issue ยท 1 comments
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When the player gets a given potion, I want the game to play a sound effect to remind the player.However, as long as the effect of the potion does not wear off, the sound will continue to play in a loop.The same thing appears when the player enters the main menu or other events occur.
Describe the solution you'd like
A clear and concise description of what you want to happen.
I want to be able to play the audio only once, not on a loop.If possible, it is best to have separate control over whether or not each event plays audio in a loop.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Maybe allow the audio to be played sequentially? Then a similar effect can be achieved by adding a long piece of empty audio.
Additional context
Add any other context or screenshots about the feature request here.