[ad_1]
(Utilizing Unity)
I’ve appeared round and might’t appear to seek out a solution on how individuals animate 2D pixel sprite animation that enables for personalisation. Let’s use Stardew Valley for example because it’s fashionable and does what I’m speaking about.
To date I’ve tried utilizing a number of sprites for every physique half however that proved to be not as customizable as I believed without having to animate each potential mixture.
I’m at present utilizing a shader I wrote that makes use of two sprite sheets that work collectively utilizing UV coordinates for the shader. This has been nice, as a result of it permits me to create one animation for every animation I want, then I can change the one of many sprite sheets and the shader will change the animations to the proper picture I want.
This works for dynamic modifications to the participant’s look and I may even use the identical shader for each NPC, then simply change the sheet for that NPC to look how I need them.
Sadly, though I can change the looks, I can’t make the character some other form. For instance if I want them to put on gauntlets or armor, the armor must keep throughout the bounds of the character, as a result of my shader can solely alter the colours used.
So what the easiest way to method this, or higher but how is it being finished?
[ad_2]