PreRender not Working with Tiled
Hi
Enabling the me.sys.preRender, the console displays the error "Uncaught TypeError: Cannot call method 'drawTile' of undefined melonJS-0.9.7.js:11486" when loading the Tiled level.
Tested with tmx and json, both displays the same error.
Thanks!
roohh I actually didn't test pre-render with 0.9.7 !
@ciangames that was a quick one, thanks again :)
Olivier
Worked flawlessly!
Thanks!
great thank you for (both) feedback !
now that you can enable it, do you see any improvements on android using cocoonJS ? pre-rendering allowing to highly limit the amount of draw operation, it should greatly help, specially with a fix level and dirtyRect enabled :)
Hi Olivier
The first thing I did was test it in the CocoonJS and the FPS increased from 15-17fps to 16-19fps.
Some fps more, but still very slow, not playable :(
Perhaps the CocoonJS has some incompability with Android 2.3, I will try to migrate to Android 4 hereafter and try again.
Thanks for adjustments!