- Jul 26, 2017
- 261
- 210
First.. don't replace the file "KhasAdvancedLighting.js" keep the original one!It helped in Release 15 but not anymore in Release 17
I still get:
Game has encountered a bug. Please report it.
TypeError: Cannot read property 'blendModes' of undefined
at Function.Graphics._createRenderer (KhasAdvancedLighting.js:382:28)
at Function.Graphics._createAllElements (rpg_core.js:2338:10)
at Function.Graphics.initialize (rpg_core.js:1768:10)
at Function.SceneManager.initGraphics (rpg_managers.js:1826:14)
at Function.SceneManager.initialize [as khas_core_initialize] (rpg_managers.js:1815:10)
at Function.SceneManager.initialize (KhasCore.js:126:10)
at Function.SceneManager.run (rpg_managers.js:1806:14)
at Function.SceneManager.run (YEP_CoreEngine.js:1367:32)
at window.onload (main.js:8:18)
Press F5 to restart the game.
Please help!
then.. inside the game folder, open the file "package.json" with notepad or notepad++ & add this line...
"chromium-args": "--ignore-gpu-blacklist",
should look like this..
{
"name": "",
"main": "www/index.html",
"js-flags": "--expose-gc",
"chromium-args": "--ignore-gpu-blacklist",
"window": {
"title": "",
"toolbar": false,
"width": 816,
"height": 624,
"icon": "www/icon/icon.png"
}
}
P.S: if that don't work then.. try the previous solution.. replace using the other files in "Khas Plugins" folder, one by one.
Last edited: