Hi,
Been working with Phaser 3 for a few days.
I have gone through the official 1st game tutorial here.
I have moved below code from index.html to coreVisuals.js:
function LoadAllGraphics () // Not working?
{
this.load.image('sky', 'assets/sky.png');
this.load.image('ground', 'assets/platform.png');
this.load.image('star', 'assets/star.png');
this.load.image('bomb', 'assets/bomb.png');
this.load.spritesheet('dude', 'assets/dude.png', { frameWidth: 32, frameHeight: 48 });
}
But it does not run in browser and produces below error:
Any ideas?
Jesse