You must be 18+ to view this content

Indecent Wife Hana may contain content you must be 18+ to view.

Are you 18 years of age or older?

or Return to itch.io

Sprite Construction in Ren'Py


There are two full body sprites already made for "Indecent Wife Hana". I'll show you how Hana is constructed.

For this I use convenient layeredimage function included in Ren'Py. I use a 'base' naked image which is always showed (under 'always'), then I add layers of interchangable images called 'attribute' which are grouped under 'group'.

For example, to show Hana angry with her clothes on I write:

For which 'hana' is the defined layeredimage name, 'casual' is the attribute for which an image associated to that attribute is showed in each group, for example, a 'casual' underwear with a 'casual' clothing. For the expression, the 'angry' attribute image is used.

But there's even more convienence, you can show certain images by default by writing 'default' at the end of the 'attribute' line. So you can show Hana clothed smiling by just writing:

Note that each of this layers needs to be a separate file and organized too for ease of naming. For example, notice that the image is defined as "hana face smiling". That image file actual directory is "myproject/game/images/fg/hana/face_smiling.png"

Ren'Py by default strips the directory and extension if the image is placed in the 'images' folder. That will leave us with "fg/hana/face_smiling". So to simplify it even more you can use the following:

This will replace '_' with a ' ' blank space and use the directory as part of the name leaving us with 'fg hana face smiling'. But I don't want the redundant 'fg'. For that I strip that prefix using this function.

That leaves us with 'hana face smiling' and an organized file directory. Alternatively you can write your own functions to customize the file naming even more.

Get Indecent Wife Hana