#Advice For A Character Customizer

3 messages · Page 1 of 1 (latest)

west garnet
#

I'm trying to make a character customizer in godot 4.2.2 and am very new to making games in general. I have a bunch of 4 column by 4 row sprite sheets all like the one attached. They all have corresponding walk, run, and bike spritesheets. There are resources for Body Type, Pants, Shirt, and Hair. Ideally, I want to have a character that has 4 sprites (body, pants, shirt, and hair) all moving at the same time for walk, run, and bike cycles. With these resources, I'm trying to make a character creator. So far, I have gender selection, name input, and the body type tab, but I've run into some issues. Right now for the buttons to select skin tone, I'm using texture buttons and pulling one of the frames from the walk spritesheet for each of the bodies. I doubt this is the most efficient way but it's the only way I could think of. My problem is, if the player selects a certain body type, not only do I want a player preview that updates in the bottom right, I want the clothing and garment previews to display on the correct skin tone and body type. (For example I want the pants tab to not just be the clothing sprite sheet, but the clothing sprite sheet on top of the body type sprite) Sorry if this is a bit confusing, but if anyones willing to reach out and give me some advice or point me in the right direction, it'd be greatly appreciated. Project file is linked in case I missed anything worth mentioning

merry scaffold
#

aarthificial made a video about their solution to something similar to this, where instead of each pixel encoding a color it encodes a UV to a skin texture. That way, changing the body shape changes that UV map and the rest of them change the "skin" texture.

In this indie game devlog™, we're taking a look at a simple feature that allows us to easily change the appearance of our characters - without the need to recreate every animation.

=== Wishlist Astortion on Steam ===
https://store.steampowered.com/app/1993980/Astortion/

=== Support the channel ===
Patreon:
https://www.patreon.com/aarthificial
...

▶ Play video
clever cloud
#

That video is super cool. I have yet to try it but it's definitely on my list. You can also combine that with this shader technique I described to someone else the other day:
#1260656589178798220 message