Hi, I've been spending a while on this. Because i thought.. ok, a dress up game.
Cant be the hardest thing in the world... but ^_^
its gotten pretty complex.
Been spending about , a 2 weeks on this now and, I've gotten to a good stage i think. (for me anyway)
By the way, this is all a demo.
I've got some clothes. buttons, different areas. like, dressing room.
Modeled .. design thing.
But, I've made a mistake some wear cause now ^_^
When I'm on one section adding clothes, and i press the button to go to the next. the other clothes end up .. leaving.
Joe is my mate xD
i took his head and put it on my models body.
His head was used for a previous test of dressup games which is http://www.ryan-paterson.co.uk/joegame.htm
Yeah i know ^_^ i just find quick post is allot more convenient.
but if it annoys you. I'm sorry.
thank you for the help :]
im still not 100% on , where you want me to apply the mask.
If you don't mind , can you tell me please?
If you don't have the time, thanks anyway though.
EDIT : ;]
each, button links to its own key frame.
I'm not sure on the solution if you are using different key frames for each section.
The way I built one it was all within 1 key frame. Each section had a main moviclip (eg shoes_main) which held all of it's contents (eg shoes1, shoes2 etc). Each movieclip had a mask that only revealed the area over the doll, that way whether it was selected or not the items on the doll would still be visible. When you clicked on a button it removed the mask for that clip revealing all items on that clip (while re-applying the mask to the other sections and hiding them).
I hope that helped but if it was unclear feel free to ask any questions.
Im getting there xD
lol. I'm just quickly now making a little one.
with a stick man.
N i've got contents in the 1 movie clip.
and within the movie clip the buttons to the next section.
But im not sure how to apply this mask, or how it works to be honest ^_^
umm. I'm not sure but try adding:
movieclipnamehere.swapDepths(_root.getNextHighestD epth())
I've not tested it but put that into the code where the startDrag happens...
"I'd only told them the truth. Was that so selfish? Our integrity sells for so little, but it is all we really have. It is the very last inch of us, but within that inch, we are free."
this is a fairly simple, multi frame dressup game. http://img251.imageshack.us/my.php?image=v1sb2.swf
there are a few things you need to make sure you are consistent with if this method is to work properly;
1. garments need to be centered over a portion of the garment not a gap in the garment (ie. the pants need to be centered up near the waist, not between the legs)
2. you need to use the true option when using startDrag()
3. you can only place ONE item per frame
Attached is the mx .fla
Graphics Attract, Motion Engages, Gameplay Addicts
XP Pro | P4 2.8Ghz | 2Gb | 80Gb,40Gb | 128Mb DDR ATI Radeon 9800 Pro