Hey, I’ve have an issue that I can’t seem to find an answer to.
I’ve been trying to make a fully customizable character, for a RPG i’m starting to work on. I want to make it so that hair style, chest armor, leg armor, eye color is fully custom, and that if you change it in your inventory, it will change your overworld appearance.
Issue is that I don’t exactly know how to go about doing that.
I do know that the way to go would be to separate the player into different animations per custom item, having each animation for each item loaded over a base sprite. For example, if you want to change your hair style or color, what would happen is that it will change a single animation over the base character that makes up the hair portion of the character. However, I do not know how to change the animation based on the value of the assigned hair style nor do I even know how to load the hair animation on top of the base player sprite or adjust its positioning via use of code.
Mostly, as of right now, I just want to learn how to create and place the animation over the character and animate it in sync with the base body, as well as switch out the animations based on particular values set based on what is equipped…
Let’s say, for example, I want to have a custom hair slot that you can change within the game. How would I animate the sprite as a separate entity without having to merge the two spritesheets, as merging them would mean that it would be required to create a character sprite for every hair, armor slot, and weapon slot possibility, which would be extremely time consuming.