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

Article by Richard Davey. Posted on 29th Jan 2019.   @photonstorm

image

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