Whether to stop on an audio loading error.
When true, melonJS throws an exception and aborts loading. When false, melonJS disables sound and logs a warning to the console.
true
false
Read-only through the me.audio namespace (module namespace properties can't be assigned) — change it with setStopOnAudioError.
me.audio
true Copy
setStopOnAudioError
Whether to stop on an audio loading error.
When
true, melonJS throws an exception and aborts loading. Whenfalse, melonJS disables sound and logs a warning to the console.Read-only through the
me.audionamespace (module namespace properties can't be assigned) — change it with setStopOnAudioError.