A tutorial detailing a flexible way to add and remove skins from Sprites.

Posted on 29th Jan 2019. Follow @phaser_ and get the Phaser World newsletter.


James Pierce wrote a tutorial on how he uses a combination of the Phaser 3 global animation store and the Data Manager to create a 'sprite skin' feature: "While travelling / zoning out at family dinners, I had time to think about why it was so important to me that I could re-use existing animations in Phaser 3. I came to the conclusion that what really mattered to me was a flexible way to add & remove skins (sprite sheets) to the game, without having to update the game code, minify the files again, and upload to my web server."

Read More

The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
  • By Emanuele Feronato
  • 155 Pages
  • 28 Source Code Examples
  • Build a complete game from start to finish
  • Cross Platform
  • Scaling for devices
Buy Now