load.spritesheet frameWidth code example
Example: preload sprite phaser
function preload() {
gameState.spritename = this.load.image('name of sprite', 'link to image')
}
function preload() {
gameState.spritename = this.load.image('name of sprite', 'link to image')
}