Sprite sheets animation and character clothing


(Drabuna ) #1

Hello, I’m new to FlashPunk, and I’m trying to make simple RPG. The problem is that I want to have animated characters, with different clothing. So at this point of time, I’ve got a character model, with basic animations (walking in different directions). How is it better and easier to implement different clothing?

Thanks!


(Zachary Lewis) #2

You’re looking at a few choices here. If performance is an issue, you’ll want to create a sprite sheet for each character and his clothing options. It’ll be more asset-heavy, but you’ll have to do fewer calculations.

If you want a programatic approach, you can create multiple parts, then render them on top of each other to create a complete character.

A fusion of the two options would be to create assets for each part, then render a sprite sheet once with your separate parts whenever you need to change costume. This will reduce asset size and will increase your processing speed.