View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0009169||New Feature Requests||General||public||2016-02-27 07:20||2017-06-18 20:56|
|Summary||0009169: [Request] Replace playSound() by createSound()|
I have an idea:
Sound elements are not very easy to handle (particularly with short sounds), are easily destroyed when finished.
The best thing would change playSound by createSound, not auto play and return sound element.
Also it is not destroyed when it finishes!
Something like that:
createSound([bool autoPlay = false, bool loop = false, volume = 1.0] )
Thanks for your time!
|Tags||No tags attached.|
I want to correct:
createSound(string soundPath, [bool autoPlay = false, bool loop = false, float volume = 1.0] )
Why are short sounds difficult to handle? There are plenty of sound events you can use to manage almost everything you would need.
It could save a lot of code with this small change!