Ivan Popelyshev
Ivan Popelyshev
yep, you are right, need to fix it. there's no "gl" in canvas mode.
Also, here's tutorial: https://github.com/Alan01252/pixi-tilemap-tutorial
Its texturepacker pixi format. https://www.codeandweb.com/texturepacker pixi-tilemap doesnt take rotations into account, but i think you can change that ;)
OK, now we support rotations both in v5 and v4 versions.
We added rotations while ago, it should work. If its not, please make minimum demo. Also currently im not working on pixijs and plugins, you should ask @ShukantPal or someone...
Ohh, canvas renderer rotate. https://github.com/pixijs/tilemap/blob/e7d26dde5b47a9ea941c50e62ad151acfc7ca57b/src/Tilemap.ts#L377 Somebody has to do it :)
that exact line i mentioned - you have to modify drawImage method there
Thank you ! The thing is, I use this demo with "pixijs.download/dev/pixi.js" which is latest dev. It means guys broke something in dev again. It should work if you copy...
Oh, its broken only for Canvas2d mode.
Tilesets more than 1024 are not supported. That code was mode for RMMV in a hurry and there's no middle solution that works both with large and small tilesets, wait...