Open debarko opened 6 years ago
The load spritesheet expects {frameWidth: x, frameHeight: y}. The line in question uses the Phaser 2 format. I think it might not work.
TextureManager.SpriteSheet: Invalid frameWidth given.
https://github.com/photonstorm/phaser-examples/blob/921295a5d7316e7f860a466644948f2eb32cf640/examples/phaser3/075%20blitter%20tilemap.js#L7
this.load.spritesheet('tiles', 'assets/tilemaps/tiles/cybernoid.png', { frameWidth: 16, frameHeight: 16 });
The load spritesheet expects {frameWidth: x, frameHeight: y}. The line in question uses the Phaser 2 format. I think it might not work.
https://github.com/photonstorm/phaser-examples/blob/921295a5d7316e7f860a466644948f2eb32cf640/examples/phaser3/075%20blitter%20tilemap.js#L7