- Jun 17, 2017
- 5,852
- 29,770
OK, looking at my sorted folder...This is probably way more work than I will be capable of... but I really like the idea of being able to fiddle more with the available options. For example, Star Girl has her hair up or down... When down she has her face in it's standard appearance or with a mask. When up she has it with a standard appearance but with slutty makeup... so what if I could make the mask work with her hair up and slutty make up, or move the slutty makeup to hair down?
Stargirl has a lot of similarities to Supergirl, which is a good thing.
Essentially, Supergirl has a 'hairband or no hairband' option and an 'eyeshadow or no eyeshadow' option. So you'd just use a similar setup with Stargirl, i.e.
default Stargirl_ponytail = False
default Stargirl_eyeshadow = False
The LayeredImage code will control which of the four 'head options' you use, based on the above two variables.
Lining things up in Layered image is a bit tricky, because Renpy references the upper left corner of a .png, and so far I haven't found a way to change this 'anchor' point.
So my workaround for this is to create a Photoshop file that has all of the heads in it, with enough space for the largest head, and then line them up with each other as best I can. This will mean a bunch of transparent pixels at the top, bottom, left and/or right, but at least this way you can set the positioning of all of the heads to the same point, and then fine tune from there.
Remember to rescale the heads, etc. to 105%. You can line all of the heads (or bodies, etc.) layers first, then grab a calculator and re-size the image x or y axis to the new value, allowing the 'proportional' function to automatically re-scale your other value to match (hopefully I'm making sense here), and rescale all of the layers simultaneously as you are rescaling the entire image using this method.
Same for body. Drag all of the bodies into the same .psd file (layers), line them up with each other, set you canvas so that the 'largest' body isn't cropped, and save all of the bodies using the same canvas size. Or however it's done in GIMP. Capes, etc. can increase the margins needed to contain all of the body variations when the bodies are lined up with each other.
Also hair, same deal.
It looks like Stargirl just has one 'conversational' arm pose, so you won't have to worry about setting up different arm poses. The other sprites (for dancing, etc.) will need to be set up with their own routine, a number of them come 'pre-assembled' which makes indexing them MUCH easier.
So Stargirl looks like she'll be pretty easy, so once you get the conversational sprite set up, things should go pretty smoothly. This will be MUCH easier than having to save all of the combinations, at least for the conversational sprites.
Zatanna's file has been set up using LayeredImage as well if you need another point of reference.
Feel free to PM me if you have any questions! I'm happy to help!
Last edited: