Nek0 Posted November 14, 2021 Share Posted November 14, 2021 looking for a way to replace a preloaded spritesheet's image file. something like: game.load.spritesheet('player', 'img/player.png', 32, 64) changes to: game.load.spritesheet('player', 'img/player2.png', 32, 64) i've tried calling the second line after the preload function but it doesn't seem to work. Link to comment Share on other sites More sharing options...
Nek0 Posted November 15, 2021 Author Share Posted November 15, 2021 nevermind. this seems to do it: game.load.spritesheet('player', 'img/player2.png', 32, 64) game.load.start() Link to comment Share on other sites More sharing options...
Recommended Posts