The doll generator uses doll accessories and parts (clip art images) to generate a new doll.
Aligning all the clip art elements in the proper locations so that they snap into alignment.
The hair clip art was a bit trickly.
To do the doll generator properly, two seperate gifs/pngs were created (the above clip art images of
the hair has both the front and back hair layers showing at the same time).
One image is BEHIND the doll's body, and the other image is in FRONT of the doll's body.
When selecting a particular hair piece, the hair images are drawn in the proper order
so as to render the doll properly
(See the z-order below).
The paint order of the assembly of the doll is as follows (z-order):
- doll hair, under
- doll body
- doll top
- doll shoes
- doll shorts
- doll hair, over
References:
Doll Base by http://www.lolaart.net/~pixel/
Corrections:
Removed doll parts upon request by okashidoll
|
|