var __RMV_OVERRIDE = [ { dst: Utils, src: { // Some plugins break this method with a bad implementation // Such implementations may cause webgl to not work anymore // Returning false for any input isOptionValid: Utils.isOptionValid, // The main loop used for Safari works better isMobileSafari: () => true, }}, { dst: SceneManager, src: { // MV really doesn't want to use WebGL on mobile for some reason // Well at least recent androids should be fine shouldUseCanvasRenderer: () => false, // Replace error handler, try chug on even if errors happen onError: e => { console.error(e.message) if (e.filename || e.lineno) console.error(e.filename, e.lineno) }, }}, ] PluginManager.setup($plugins); window.onload = function() { __RMV_OVERRIDE.forEach(o => Object.assign(o.dst, o.src)); SceneManager.run(Scene_Boot); };