hey guys this is the error msg i get on console:
[.WebGL-0x18b5577b3700]RENDER WARNING: texture bound to texture unit 0 is not renderable. It might be non-power-of-2 or have incompatible texture filtering (maybe)?
images :
function preload() { this.load.image('tiles', '../pt.png'); this.load.tilemapTiledJSON('tilemap', '../final.json'); var url = 'https://raw.githubusercontent.com/rexrainbow/phaser3-rex-notes/master/dist/rexpinchplugin.min.js'; this.load.plugin('rexpinchplugin', url, true); }
`function create() {
window.addEventListener(‘resize’, resize);
resize();
this.add.image(0, 0, ‘map’).setOrigin(0);
var map = this.make.tilemap({ key: 'tilemap' });
var tiles = map.addTilesetImage('pt', 'tiles');
const layer = map.createStaticLayer(0, tiles);`
for full code:
https://pastebin.com/YTHCt5qu