[x]

deviantART

 

©2006-2009 ~Andorea-Chan
Details
Submitted: May 13, 2006
File Size: 803 KB
Image Size: 56.6 KB
Resolution: 300×300
Comments: 1,071
Favourites & Collections: 2,817 [who?]

Views
Total: 178,876
Today: 39

Downloads
Total: 3,998
Today: 0

Thumb

Artist's Comments

Please, read the FAQ before posting any comment! I've been getting the same questions over and over for a long time now, so I've updated the FAQ. If you ask something that's already answered in the FAQ, I will just have to ignore your comment.

Thanks!



---------------


Hello! As promised, here's the dress-up tutorial I said I'd make.
It's a pretty basic tutorial, but hopefully it will help someone. ^_^

Just remember there has to be a layer for each thing: one for characters (in which you can make a little animation), one for clothes, one for BGs, another one for music and so on...

The success of your game depends on your creativity. Good luck! ^_^

FAQ:

What version of Flash do you use? And if I use a different one, will my game work with your dragging code?
I use Macromedia Flash 8. As some of you know, Macromedia was bought by Adobe some time ago. And now they work with AS3 (while Macromedia worked with AS1 and AS2). So my code works fine in any version of Macromedia Flash, but I'm "not sure" if it does in Adobe (unless you open a document and choose to work with AS2.. I think).
But fear not, since I'm posting the AS for Adobe users below. XD

Where can I get Flash?
I'm afraid you'd have to buy it, since trials only last 30 days (not to mention there are no more Macromedia trials anymore, only Adobe's.) If you still want the trial though, you can get it here [link]

Can you give me the action script for dragging the clothes? (Macromedia)
on (press) {
startDrag ("")
dragging = true
}
on (release, releaseOutside) {
stopDrag ()
dragging = false
}

What about the AS for Adobe users?
Keep in mind I haven't tried this code myself!! I just know it works because I know people who used it. However, if you have any issues with it, don't complain with me 'cuz I wouldn't know how to help you ]=

function onItemMouseDownHandler(evt:MouseEvent):void {
var item:Sprite = evt.currentTarget as Sprite;
item.startDrag();
this.setChildIndex(item, this.numChildren -1);
}
function onItemMouseUpHandler(evt:MouseEvent):void {
evt.currentTarget.stopDrag();
}

for (var i:uint=0; i<this.numChildren; i++) {
if (this.getChildAt(i).name.search("instance") > -1) {
if (this.getChildAt(i) is MovieClip) {
var item:MovieClip;
item = MovieClip(this.getChildAt(i));

item.addEventListener(MouseEvent.MOUSE_DOWN, onItemMouseDownHandler);
item.addEventListener(MouseEvent.MOUSE_UP, onItemMouseUpHandler);
}
}
}
\


I can't find Expert Mode in the AS panel!
Well, keep in mind Macromedia 8 is not the only version of Flash. Maybe yours doesn't have expert mode, but that doesn't mean you can't use the codes. Just open the action script panel and paste the code.

Should I draw everything in Flash? Or can I use some other programs (like PS)?
I'd recommend you to draw everything in Flash. If you draw the clothes in some other program, when you import it to Flash, it's going to have a white space around it so it wouldn't fit your doll... But I guess there's a way to import the clothes correctly so that won't happen. I believe if you save them as .gif and erase the BG layer in Photoshop... Haven't tried it, though. ^_^;

=sophiroth contributed with another way of importing drawn objetc to Flash. she said: "draw in Illustrator, it's pretty much the same as Photoshop and it won't leave a white space when you copy and paste into Flash."

~IsaCrisSparda also contributed with another way to get the same effect: "If you don't want to draw in the Flash program itself, you can draw it in a transparent layer in photoshop or gimp (or any other program that works with it) and save it in the .png file format. Then only the colored parts wont be transparent."


How do I add music to my games?
Click on "File", and then "Import". A window will open. Select the song you want (which you'll find in the file you usually keep your songs) and click ok. Then make a layer called "music" (or something like that) and click in the first key-frame. Finally, open your "properties" panel, and where it says "sound" click on the arrow and choose the imported song file.

When I test my game, sometimes some clothes that should be on top (e.g. jacket) appear below other clothes that should be on the bottom (e.g. t-shirt). Why is that?
Well, that's because you are not bringing your objects (clothes in this case) back and forth as you please. To do so, simply click on the clothe (or group of clothes) you want to bring forward and press Ctrl+G.




--------------



That's all for now. If I notice there's an important question I have missed, I will include it in the FAQ.

Good luck~
[x]

Devious Comments

Comments


KYAAAAAAAAA!! YAY!!!!!!! :glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp:

oh! and by the way, Natty came over yesturday and she recorded Minami's voice XD

--
Naruto says ninjas r better but Ed says alchemists r. better. So ed then makes a million weapons, and says see alchemists are better. Then Naruto says nope ninjas r still better, and the naruto transforms into a taller ed and ed says:YOU BASTARD!!
*gasp* OMG!! Really? That's so cool!!! XD :glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp::glomp:

I can't wait! Ok. I'll be on msn. ^_^ (Unless my brother kicks me out, like he usually does... ^^; )

Oh! And thanks for the fav! :hug:

--
Forge your future!
A tutorial on dress-up games :D I've always wanted to make one but didnt know how :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: :hug: Great tutorial! :heart:

--
Who told you about cause and effect
Who told you about a heart that can forget
Who told you about fortune and fame
Who told you that the evil has got no name
omg thx! this really helps!. and the tuteral doesnt look all borin cuz the pics of herself u fre there and all ^^ wo0o0ot ^^

--
Please Commission me:heart:
Hee-hee. Thanks. I'm glad you found it useful. :hug:

--
Forge your future!
LOL. thankies! X3

--
Forge your future!
oh my god!!!!
tutoriall gracias :glomp:

--
Blackmago©
Magic Entity
deviantART,inc.
Wordpress Blog|Deviantart Gallery
lol no prob ^^

o kno i jus found out ma 30 free trial of flash ran out 2day TT_TT do u know where i can buy it? and how much it is?

--
Please Commission me:heart:
LOL. I use MX Flash to make the dress-ups ^_^

--
Forge your future!

Site Map