You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add another clothes style/body shape to character randomizer #2297
Currently the character randomizer has three body shapes/clothes styles:
One of them is in two parts, I don't know how it works.
We would like more!
The way these are implemented is that there is a sprite sheet for each body in res://scenes/game_elements/characters/npcs/components/, and then a corresponding SpriteFrames in res://scenes/game_elements/characters/components/sprite_frames/, which are added to the RandomTextureSpriteBehavior in res://scenes/game_elements/characters/npcs/townie.tscn. The sprite sheets use three shades of green for the clothes, three shades of yellow for the hands (if visible), plus black outlines. Then, in the game, a chroma-key shader replaces those green/yellow shades with one of a number of alternative palettes. The sprite sheets are exported from a single Aseprite file at scenes/game_elements/characters/npcs/components/townie.aseprite.
So to add a new body style:
Open scenes/game_elements/characters/npcs/components/townie.aseprite in Aseprite, Pixelorama or compatible software
Add a new body layer
Draw a new body using the same palette
Export the spritesheet
Add a SpriteFrames
Update townie.tscn to include it in the randomized choices
@manuq created the existing assets & the game system that uses them, so he is the best person to ask for pointers!
Activity
AnedV commentedon Aug 18, 2026
I plan to work on this
AnedV commentedon Aug 25, 2026
The planning sheet document:
https://docs.google.com/document/d/1NFEWgJ_1eWd0fqbQIMwGDmBZYMbbCYTt3nr7TGmwLrU/edit?usp=sharing
AnedV commentedon Sep 16, 2026
Good morning, I would like to release this issue since I will no longer be making progress on it.
wjt commentedon Sep 17, 2026
For future reference, I believe you could have deassigned yourself:
(but I'm not sure!)