Breaking change. This refactors audio("filename").play to allow more fields to passed in.
Also adds a new field overwrite to ensure the same sound file can't be played twice (e.g. background music). Previously trying to pause and play the sound in one frame would not work.
Breaking change. This refactors
audio("filename").play
to allow more fields to passed in.Also adds a new field
overwrite
to ensure the same sound file can't be played twice (e.g. background music). Previously trying to pause and play the sound in one frame would not work.