I recently went to a site called Gaiaonline ( www.gaiaonline.com ) and noticed a Flash on the home page for creating Avatars… I though it would be pretty cool to have one of those for a Character creater in a game ( side-scroller, or rpg )… So I made a mold body, then some cloths and what not. All the clothing was in one movie clip ( example: frame one- shirt, frame two- sweater ) but I don’t know what to do from here… AND I thought it would be pretty cool if they could SAVE their character so they could come back later on without having to do everything again…please help.
You’ll need to create categories, like shirt, pants, hats, etc. Those should be their own movie clips, laid over the main body, and each frame within should have a different item. The quick overview is, you’ll need to create some kind of button that advances a variable, and create some code like this (for the “plus” button:
on(release) {
hatCounter += 1;
if (hatCounter > hatMax) {
hatCounter = 1;
}
_root.hatChooser.gotoAndStop(hatCounter);
}
It would be a good idea to put stop(); actions in each frame of each clothing category’s frames.
You could even just make each part of the body clickable itself, and when they get over the maximum, they start over.
Let me know if that makes sense. If you want to check it out, I handled the heads, bodies, and motorcyles (as well as other factors) in my game dynamically:
http://www.restrainingorderband.com/gigracer
There is one composite movie , and the buttons of the faces of the band members select the pieces, which stay in place when the game is played.
I hope that helps - let me know if you have any questions.