HOME | DD

Hapuriainen β€” Dress up tutorial

Published: 2011-01-22 20:22:10 +0000 UTC; Views: 149638; Favourites: 1916; Downloads: 1972
Redirect to original
Description I haven't been too motivated for making a dress up tutorial, since there are so many of them already. One day I sorta got interested in the idea anyway. And in order to stand out in the great amount of tutorials, I decided to take the average Hapuriainen route: make it unnecessarily large. I mean, what kind of idiot draws 100+ items for a tutorial? answer: me Actually this was already started in autumn, but I didn't have the time to finish it until now.

[edit]: Fixed the game a bit, the codes should work now. Sorry about the inconvenience! Thanks to KawaiiPandah for the words of wisdom on the importing art section.
Related content
Comments: 1120

Hapuriainen In reply to ??? [2019-10-12 13:45:11 +0000 UTC]

It uses the same codes as the other button stuff. LikeΒ 

on(release){
_root.character.gotoAndStop(FRAMENUMBER);
}

πŸ‘: 0 ⏩: 0

TenneLuna [2019-02-02 13:00:20 +0000 UTC]

Hello! Sorry about the question on this old submission but how did you make it so that she talked/reacted when you snapped clothes on her? In the "items with two parts" section. Thank you so much for the tutorial btw!!!

πŸ‘: 0 ⏩: 1

Hapuriainen In reply to TenneLuna [2019-02-04 17:36:33 +0000 UTC]

You can add something like this to the part of the code that releases the item from the dragging:

on(release) {
stopDrag();

if(this.hitTest(_root.doll)){
_root.textBubble._visible = true;
}
else{
_root.textBubble._visible = false;
}

}

I didn't test the code though, hopefully it works...

πŸ‘: 0 ⏩: 1

TenneLuna In reply to Hapuriainen [2019-02-04 19:09:57 +0000 UTC]

It worked!!! Thank you!!!

πŸ‘: 0 ⏩: 0

Pelusita-Fideos [2019-01-01 21:45:16 +0000 UTC]

thank you for this tutorial! It actually helped me a lot. But, I have a question...do you know how can I do a "reset" button?

πŸ‘: 0 ⏩: 1

Hapuriainen In reply to Pelusita-Fideos [2019-01-05 17:43:19 +0000 UTC]

It depends on how your dress up is coded. Or the easiest way is to just make the first frame empty and put the dress up itself on frame 2 (or 3 if you have a preloader in frame 1), and then on the reset button putΒ 

on(release){_root.gotoAndPlay(1);}

πŸ‘: 0 ⏩: 1

Pelusita-Fideos In reply to Hapuriainen [2019-01-06 15:59:22 +0000 UTC]

Okay, I will try, thank you!

πŸ‘: 0 ⏩: 0

GamingGoru [2018-10-02 06:44:40 +0000 UTC]

Is it possible to make a tutorial for this in Adobe Animate? I want to make dress-up games again, but Adobe Flash is gonna become outdated in 2020 and HTML5 / WebGL will become the default file formats, and I was wondering if you can make an updated version?

πŸ‘: 0 ⏩: 1

Hapuriainen In reply to GamingGoru [2018-10-02 12:37:07 +0000 UTC]

I don't have Adobe Animate so no. When Flash finally dies I suppose I'll have to think of an alternative, but right now I can only find monthly subscriptions for Animate and I'm definitely not getting one. So unless the option for an one time purchase becomes available I'll just have to find a new hobby.

πŸ‘: 0 ⏩: 0

yaya-habib [2018-08-25 11:43:34 +0000 UTC]

what app should I use ?

πŸ‘: 0 ⏩: 1

Hapuriainen In reply to yaya-habib [2018-08-25 11:44:36 +0000 UTC]

This tutorial is for Adobe Flash Professional.

πŸ‘: 0 ⏩: 0

CureAtikamekw [2018-08-05 03:23:28 +0000 UTC]

My computer is low for download this ligicial Β Β 

πŸ‘: 0 ⏩: 0

ChaiLife [2018-04-25 22:59:37 +0000 UTC]

Is there a code to make an item hide automatically at the start of the flash and then use the button code to show it?

πŸ‘: 0 ⏩: 1

Hapuriainen In reply to ChaiLife [2018-04-26 15:46:08 +0000 UTC]

Yes. The code to hide and unhide items can be found in the "drawers" section.

πŸ‘: 0 ⏩: 3

ChaiLife In reply to Hapuriainen [2018-04-26 22:37:44 +0000 UTC]

Oh wait it worked! I forgot it was uppercase sensitive

πŸ‘: 0 ⏩: 0

ChaiLife In reply to Hapuriainen [2018-04-26 22:31:43 +0000 UTC]

For some reason the code isnt working for me, do I need something else?

snag.gy/UFHtIZ.jpg

πŸ‘: 0 ⏩: 0

ChaiLife In reply to Hapuriainen [2018-04-26 22:19:06 +0000 UTC]

thank you!

πŸ‘: 0 ⏩: 0

ClaraNekoChan [2018-03-11 04:56:14 +0000 UTC]

If I'm using MacBook Air how could it work?

πŸ‘: 0 ⏩: 1

Hapuriainen In reply to ClaraNekoChan [2018-03-11 10:12:17 +0000 UTC]

I've never used one so I can't really help with that I'm afraid.

πŸ‘: 0 ⏩: 0

Zypex117 [2017-11-10 00:42:40 +0000 UTC]

Couldn't you of put the x and y positions of the doll into a variable so you wouldn't need to need to update the snapping code if you were to change the doll's position?

πŸ‘: 0 ⏩: 1

Hapuriainen In reply to Zypex117 [2017-11-10 15:37:46 +0000 UTC]

That is obviously the better solution, but this tutorial was made based on what I knew in 2011 (which was not a lot).

πŸ‘: 0 ⏩: 0

thatsavageanimegurl [2017-08-07 04:14:18 +0000 UTC]

i love the inuyasha animationΒ Β Β 

πŸ‘: 0 ⏩: 0

Smilethroughthepain [2017-08-07 01:41:23 +0000 UTC]

thx!!!!

πŸ‘: 0 ⏩: 0

00gojiramon [2017-07-22 15:58:35 +0000 UTC]

Thanks for the tutorial!

πŸ‘: 0 ⏩: 0

pumpkinmask [2017-06-27 16:17:03 +0000 UTC]

This is what i need! Thank you I love youuu! β™₯β™₯β™₯

πŸ‘: 0 ⏩: 0

Ellise93 [2017-05-31 01:32:41 +0000 UTC]

Hello! Β  I'm at the very end of making my own dress up game and this tutorial has been extremely helpful! β™₯Β  I'm at the part where I want the items to snap back to their place in the wardrobe. I copied the snap back code, put the code on my item below the other code and changed the X's and Y's to where I want them to go. (I also tried to replace the code on the item with this, but I got the same result) and I get three errors: Syntax error, 'else' encountered without mathcing 'if' and Unexpected '}' encountered.Β  I was thinking maybe you are familiar with this problem? ^-^

πŸ‘: 0 ⏩: 1

Hapuriainen In reply to Ellise93 [2017-05-31 17:50:16 +0000 UTC]

In the past there has been issues that just copypasting the code causes syntax errors even if it worked right for me. I thought I fixed everything, but maybe I didn't get this one? Would it work if instead of copypasting you wrote the code yourself?

If it doesn't help I can see if I can find a bug in the code if you copypaste it here in the comments.

πŸ‘: 0 ⏩: 1

Ellise93 In reply to Hapuriainen [2017-05-31 23:00:56 +0000 UTC]

I wrote the code insteady of copying and it worked wonders! Wierd. Thanks for the help! β™₯

πŸ‘: 0 ⏩: 0

BerrySplash [2017-04-18 16:49:07 +0000 UTC]

This tutorial has helped me so so much!! thank you for making it. I am wondering though, Β how would I make multiples/infinite amounts of the same draggable item? I've copy pasted the art but it seems they'd all need different instance names etc, is there a better way? I've only been learning for a few months so I don't understand a lot of things

πŸ‘: 0 ⏩: 1

Hapuriainen In reply to BerrySplash [2017-04-18 17:26:19 +0000 UTC]

If you use instance names every item needs to have its own, there's no way around it.Β 

It is possible to generate new items dynamically and have the algorithm give them instance names, but I'm not sure if it's more trouble than it's worth. Or like it's a super useful skill for a flash programmer obviously since it's such a basic thing, but if you have no interest in programming outside having fun making simple dress ups it'll probably require some effort to get it working. But if you're interested this tutorial looks like it could help (I recommend the "using attachmovie" method).Β 

πŸ‘: 0 ⏩: 1

BerrySplash In reply to Hapuriainen [2017-04-18 18:02:51 +0000 UTC]

Ohh I see, it does seem complicated but I'm determined to learn more, I want to make a big, detailed, winx style character creator some day, thanks for replying!^^

πŸ‘: 0 ⏩: 1

Hapuriainen In reply to BerrySplash [2017-04-20 18:27:01 +0000 UTC]

It shouldn't be impossible or anything like that, just that it probably takes more effort to get it working than just copypasting a few lines of code, like you have to actually understand what it does. Being motivated to push towards more complicated dress ups is a great start! You can first try generating one movie clip with the code as a first step, and then move towards making it movable (the tutorial doesn't specifically teach about that but I can try to find another one later).

πŸ‘: 0 ⏩: 1

BerrySplash In reply to Hapuriainen [2017-04-20 21:36:07 +0000 UTC]

Right, I just remember seeing in maker/creator games like dolldivine's you can for example keep dragging the same flower over and over to make a flower crown, it doesn't run out, I want to make something that gives you that much freedom, just didn't think it'd have complicated code behind it. I've always been bad at math and I guess I am with code as well, it hurts my brain to try and figure out xD That's why your tutorial is so helpful cause it's put very simply haha. There's still quite an active community here on dA for winx art and I've just never seen a detailed character creator based on it so it pushed me to learn so I can make one , since I already like drawing the style^^ but I have been so dead-set on making the character maker that I haven't made anything else xD only this super simple one for an oc back when i didnt know muchΒ Dress Up Belinda Β . It is frustrating though, since I don't know much about flash and codes that when something doesn't work idk how to fix it and I end up giving up for weeks Β >.< You're definitely right, I can't just rely on copy paste and should actually learn how to do it myself so I can do even more stuff, luckily I've learned color buttons, previous and next and drawers so hopefully I can already do a lot even if I can't figure out the unlimited drag and drop. Thanks for trying to help me though ^^ I just learn slowly when it comes to this stuff xD

πŸ‘: 0 ⏩: 0

Ellise93 [2017-04-18 02:45:34 +0000 UTC]

Amazing tutorial! Is there a way to make a "restart" button? So that the doll gets undressed again?

πŸ‘: 0 ⏩: 1

Hapuriainen In reply to Ellise93 [2017-04-18 16:36:04 +0000 UTC]

The easy way would be just putting your game on frame 2 (or 3 if the first frame has a preloader) and give the reset button the _root.prevFrame(); code. I prefer having the reset button say "put every item to its away-from-doll coordinates and make them invisible" though since it feels more elegant, but in the end it doesn't really matter as long as it works I guess.

πŸ‘: 0 ⏩: 1

Ellise93 In reply to Hapuriainen [2017-04-18 17:36:31 +0000 UTC]

Yeah I figured that would be the case. I'm nearly done with my game so it would be difficult to set everything on frame 2 now. Thank you so much for the reply! Wasn't sure you'd still give feedback after so many years! β™₯

πŸ‘: 0 ⏩: 1

Hapuriainen In reply to Ellise93 [2017-04-18 17:38:43 +0000 UTC]

No need to move the items, you only need to select the keyframes in frame 1 and drag them to frame 2, and put the stop(); code to frame 2. If you have a ton of layers you can select them all with shift+click.

πŸ‘: 0 ⏩: 1

Ellise93 In reply to Hapuriainen [2017-04-18 17:42:21 +0000 UTC]

Ah! Perfect Thank you so much!

πŸ‘: 0 ⏩: 0

ZetaRESP [2017-04-17 20:33:58 +0000 UTC]

Q5: Is it really such a heavy problem you have to actually post Q4 as an FAQ?

πŸ‘: 0 ⏩: 1

Hapuriainen In reply to ZetaRESP [2017-04-18 17:28:25 +0000 UTC]

People who approach me with a dress up idea expecting me to do all the work is indeed a common thing.

πŸ‘: 0 ⏩: 1

ZetaRESP In reply to Hapuriainen [2017-04-18 17:35:37 +0000 UTC]

Oh... okay... Can you teach how to draw a sketch with a mouse? I really, REALLY need to either learn that or get a touch screen and just tablet the crap out of it.

πŸ‘: 0 ⏩: 1

Hapuriainen In reply to ZetaRESP [2017-04-18 18:02:00 +0000 UTC]

I'm afraid I've never been able to draw with a mouse so I can't help with that.

πŸ‘: 0 ⏩: 1

ZetaRESP In reply to Hapuriainen [2017-04-18 20:55:51 +0000 UTC]

Oh, okay, then...

Then you just sketch on paper, then scan and clean up outside?

πŸ‘: 0 ⏩: 1

Hapuriainen In reply to ZetaRESP [2017-04-19 09:15:49 +0000 UTC]

Yes I can't do anything without pencil sketch.

πŸ‘: 0 ⏩: 1

ZetaRESP In reply to Hapuriainen [2017-04-19 15:07:59 +0000 UTC]

Oh, okay... yeah, maybe should work that part up...

πŸ‘: 0 ⏩: 0

ClaraNekoChan [2017-04-14 02:11:40 +0000 UTC]

I do NOT know how to do that... I'm using MacBook and this couldn't work.

πŸ‘: 0 ⏩: 0

curly30 [2017-03-21 21:14:08 +0000 UTC]

And the last step is ... DRAW!
Β 
Shit! I do not know how to do that...

πŸ‘: 0 ⏩: 1

lucky-doll In reply to curly30 [2017-07-17 15:59:37 +0000 UTC]

Post the 50-second stick man dress up test.

πŸ‘: 0 ⏩: 0

IvySand [2017-01-15 23:20:48 +0000 UTC]

Very helpful, thank you!

πŸ‘: 0 ⏩: 0

ceralynne [2016-11-14 21:34:36 +0000 UTC]

Thank you!

πŸ‘: 0 ⏩: 0


| Next =>