(The sprites both have six hair colors, six eye colors, and four skin tones to choose from.)
Thank you.
EDIT: I actually figured out a solution. What I did was I coded in the customization like this:
Code: Select all
default hair = 1
default skin = 1
default eye = 1
label start:
"Yo, we're gonna try this out."
jump haircolor
label haircolor:
"What color hair does your character have?"
menu:
"Blonde.":
pass
jump skincolor
"Red.":
$ hair += 1
jump skincolor
"Light brown.":
$ hair += 2
jump skincolor
"Brown.":
$ hair += 3
jump skincolor
"Dark brown.":
$ hair += 4
jump skincolor
"Black.":
$ hair += 5
jump skincolor
label skincolor:
"What color skin does your character have?"
menu:
"Light.":
pass
jump eyecolor
"Asian.":
$ skin += 1
jump eyecolor
"Tan.":
$ skin += 2
jump eyecolor
"Dark.":
$ skin += 3
jump eyecolor
label eyecolor:
"What color eyes does your character have?"
menu:
"Blue.":
pass
jump done
"Black.":
$ eye += 1
jump done
"Brown.":
$ eye += 2
jump done
"Gray.":
$ eye += 3
jump done
"Green.":
$ eye += 4
jump done
"Gold.":
$ eye += 5
jump done
label done:
show doll
Code: Select all
############# DOLL ############# The one that doesn't move.
layeredimage doll:
always:
"doll_base"
if skin == 1:
"doll_skin_light"
elif skin == 2:
"doll_skin_asian"
elif skin == 3:
"doll_skin_tan"
elif skin == 4:
"doll_skin_dark"
group outfit:
attribute outfit default:
"doll_outfit_normal"
if hair == 1:
"doll_hair_blonde"
elif hair == 2:
"doll_hair_red"
elif hair == 3:
"doll_hair_lightbrown"
elif hair == 4:
"doll_hair_brown"
elif hair == 5:
"doll_hair_darkbrown"
elif hair == 6:
"doll_hair_black"
group eyebrows auto:
attribute normal default
group mouth auto:
attribute normal default
if eye == 1:
"doll_eyes_blue_normal"
elif eye == 2:
"doll_eyes_black_normal"
elif eye == 3:
"doll_eyes_brown_normal"
elif eye == 4:
"doll_eyes_gray_normal"
elif eye == 5:
"doll_eyes_green_normal"
elif eye == 6:
"doll_eyes_gold_normal"
############# PLAYER ############## The one that moves.
layeredimage player:
always:
"doll_base"
if skin == 1:
"doll_skin_light"
elif skin == 2:
"doll_skin_asian"
elif skin == 3:
"doll_skin_tan"
elif skin == 4:
"doll_skin_dark"
group outfit:
attribute outfit default:
"doll_outfit_normal"
if hair == 1:
"doll_hair_blonde"
elif hair == 2:
"doll_hair_red"
elif hair == 3:
"doll_hair_lightbrown"
elif hair == 4:
"doll_hair_brown"
elif hair == 5:
"doll_hair_darkbrown"
elif hair == 6:
"doll_hair_black"
group eyebrows auto:
attribute normal default:
"doll_eyebrows_normal"
attribute raised:
"doll_eyebrows_raised"
attribute angry:
"doll_eyebrows_angry"
attribute flat:
"doll_eyebrows_flat"
attribute sad:
"doll_eyebrows_sad"
attribute quirked:
"doll_eyebrows_quirked"
group mouth auto:
attribute normal default:
"doll_mouth_normal"
attribute open:
"doll_mouth_open"
attribute opensmile:
"doll_mouth_opensmile"
attribute smile:
"doll_mouth_smile"
attribute frown:
"doll_mouth_frown"
attribute shout:
"doll_mouth_shout"
attribute teeth:
"doll_mouth_teeth"
attribute thoughtful:
"doll_mouth_thoughtful"
if eye == 1:
"blue eyes"
elif eye == 2:
"black eyes"
elif eye == 3:
"brown eyes"
elif eye == 4:
"gray eyes"
elif eye == 5:
"green eyes"
elif eye == 6:
"gold eyes"