Closed civmi closed 4 years ago
More like a problems of pixi-projection https://github.com/pixijs/pixi-projection
And you use very old PIXI wich can't supported now. Latest supported v4 version 4.8.9, and there were a many fixes since 4.5.5.
@ivanpopelyshev I call you!!
UPD: nw.js 0.44.1+ using Chromium 79 backend, that's may be not compatibility with win 7 32bit
Latest pixijs v4: https://github.com/pixijs/pixi.js/releases/tag/v4.8.9 pixi-tilemap for v4: https://github.com/pixijs/pixi-tilemap/tree/v4.x/dist pixi-projection for v4: https://github.com/pixijs/pixi-projection/tree/v4.x/dist
It should work. However when I last time helped with RMMV , upgrade to latest pixi-v4 caused some problems. If you use any plugins that re-write the ShaderTilemap class - you'll have to make them compliant with latest corescript (https://github.com/rpgtkoolmv/corescript)
As for canvas2d - Im sorry, pixi-projection for v4 does not support canvas fallback, it crashes :( v5 does, but so far no one converted RMMV to pixi-v5.
Three ways to solve that:
You have to ask your users what do they see in console, if its Pixi WebGL or Pixi Canvas. If that's the case, they have to update their video drivers that way chrome picks up webgl support.
@eXponenta @ivanpopelyshev Thx for reply!
I updated pixi.js and pixi-tilemap.js to the latest version and they work well for now.
@ivanpopelyshev , Sorry but I couldn't get what "Uglify your code by adding IF's that use regular Container in case of canvas2d" mean. Does "Uglify" mean obfuscation? Does "IF" mean if-else condition?
@SQDT Sometimes, we all obfuscate our code by adding more conditions to avoid buggy places ;)
@ivanpopelyshev I got it... yes, that's what we all sometimes do ;D
I'll try to "uglify" my code then. Thank you for your help!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
A few of my RPG maker MV game players report that the game encounters
Cannot read property 'render' of undfined
error when they enter battle scene.One of them send me a screenshot: https://i.imgur.com/L1OWge8.png
It seems
Container2d
frompixi.projection.js
I use in battle scene causes the error. They say they 100% encounter the error when entering battle. But almost all players include me don't encounter the error at all. So I have no idea how to fix this.As for now, all of the reporters use Windows 7 32bit. Does this matter?
Any kind of leads will be appreciated.
pixi.js
version: 4.5.5pixi.projection.js
version: 2.0.8nw.js
version: 0.44.1 win-ia32nw.js
version: 0.43.3 win-ia32