Hi everyone 
I have a big problem so I need a big solution!
If I want to make my user able to personalize his own character choosing from different haircuts, dresses, weapons and so on how can I do that?
Thanks so much for your answers 
Hi everyone 
I have a big problem so I need a big solution!
If I want to make my user able to personalize his own character choosing from different haircuts, dresses, weapons and so on how can I do that?
Thanks so much for your answers 
What is the context of the game and character? Â i.e. is this just a static avatar, or is it an in-game character that needs animation?
I did something like this for the PROCJAM. It’s for random generation but I guess you can tweak out the code a little bit to make it fit for your needs. Here:
Hi guys, thanks for your answers =)
I need something similar to your chargen madclown and for you jbp1 I can say that the contest of the game is static, I just need to move my characters with transition.to but they are not animated.
Any advice? =)
The approach from bgmadclown is basically what I was going to suggest – separate out each modifiable “body part” into a set of images (hair, body, clothing), the user picks 1-of-N body images, 1-of-M hair images, etc., then you just overlay the selected images on top of each other. Â
The only addition I might add to bgmadclown’s code is is to put them all into a total-character display group, then you can use transition.to on that group and move all the parts at once.
I would suggest adding all body parts to a table instead of a display group. It will save you from some unwanted group transforms that can easily get out of hand when your project gets bigger.
What is the context of the game and character? Â i.e. is this just a static avatar, or is it an in-game character that needs animation?
I did something like this for the PROCJAM. It’s for random generation but I guess you can tweak out the code a little bit to make it fit for your needs. Here:
Hi guys, thanks for your answers =)
I need something similar to your chargen madclown and for you jbp1 I can say that the contest of the game is static, I just need to move my characters with transition.to but they are not animated.
Any advice? =)
The approach from bgmadclown is basically what I was going to suggest – separate out each modifiable “body part” into a set of images (hair, body, clothing), the user picks 1-of-N body images, 1-of-M hair images, etc., then you just overlay the selected images on top of each other. Â
The only addition I might add to bgmadclown’s code is is to put them all into a total-character display group, then you can use transition.to on that group and move all the parts at once.
I would suggest adding all body parts to a table instead of a display group. It will save you from some unwanted group transforms that can easily get out of hand when your project gets bigger.