Easiest way to animate a short cartoon? |
Author: |
Message: |
M73A
Veteran Member
Posts: 3213 Reputation: 37
34 / /
Joined: Jul 2004
|
O.P. RE: Easiest way to animate a short cartoon?
okay, thanks a lot i've been trying to google for tutorials on things but i had no idea where to start lol
edit:
im trying to use the code from the first link, in the actionscript window etc, but it just doesnt want to move like the car! and no text is coming up when i press any directional key....gonna be here for a while! >.<
how do i define a property? the property is 'Key'
This post was edited on 01-06-2009 at 09:16 PM by M73A.
|
|
01-06-2009 09:03 PM |
|
|
vaccination
Veteran Member
Posts: 2513 Reputation: 43
32 / / –
Joined: Apr 2005
|
RE: Easiest way to animate a short cartoon?
quote: Originally posted by M73A
how do i define a property? the property is 'Key'
I don't know ;[
|
|
01-06-2009 09:24 PM |
|
|
M73A
Veteran Member
Posts: 3213 Reputation: 37
34 / /
Joined: Jul 2004
|
|
01-06-2009 09:38 PM |
|
|
vaccination
Veteran Member
Posts: 2513 Reputation: 43
32 / / –
Joined: Apr 2005
|
RE: Easiest way to animate a short cartoon?
onClipEvent(keyDown) {
trace(Key.getCode());
}
^^ should just say whatever key you press in the output window.
To make something happen when a key is pressed you have to use
if (Key.isDown(Key.LEFT)) {
<<do something>>
}
EDIT: I can't see why you'd get errors if you did the same as in that second tutorial, is the Movie Clip named properly? (For instance he uses 'square' in his example - Step 2)
EDIT2: Also he provides the .fla at the end of the tut so it's probably a good idea to download that and make sure you're doing things the same, and to just get a better feel for what he's doing.
This post was edited on 01-06-2009 at 10:10 PM by vaccination.
|
|
01-06-2009 10:04 PM |
|
|
M73A
Veteran Member
Posts: 3213 Reputation: 37
34 / /
Joined: Jul 2004
|
O.P. RE: Easiest way to animate a short cartoon?
thanks for the help! i was using the wrong version of action script for the link i used. im going to try the one with the text output now http://megaswf.com/view/50a9b9f46b985e14b20c506d5b26cefb.html
is what i ended up with, need to play more. lol
can someone guide me to what i need to look into if i want to add buttons so the dog (im gonna make a new one, i just googled one so i could play with flash) does things, i want to animate him to say bark, pee, fight. when buttons which will be around the outside are pressed....
or thats the concept anyway!
thanks
This post was edited on 01-06-2009 at 11:07 PM by WDZ.
|
|
01-06-2009 10:14 PM |
|
|
vaccination
Veteran Member
Posts: 2513 Reputation: 43
32 / / –
Joined: Apr 2005
|
RE: Easiest way to animate a short cartoon?
Nice!
To make a button clickable is quite simple, in essence all you do is make a button, and use some code which says when this area is clicked, go to frame 10 and do this.
Here's it in detail: http://www.echoecho.com/flashbuttons01.htm
[There are thousands of others here]
This post was edited on 01-07-2009 at 08:05 AM by vaccination.
|
|
01-07-2009 08:05 AM |
|
|
linx05
Senior Member
Charlie!!!
Posts: 973 Reputation: 25
38 / /
Joined: Feb 2003
Status: Away
|
RE: Easiest way to animate a short cartoon?
Microsoft Powerpoint
|
|
01-07-2009 10:56 AM |
|
|
NanaFreak
Scripting Contest Winner
Posts: 1476 Reputation: 53
32 / /
Joined: Jul 2006
|
RE: Easiest way to animate a short cartoon?
quote: Originally posted by vaccination
Nice!
To make a button clickable is quite simple, in essence all you do is make a button, and use some code which says when this area is clicked, go to frame 10 and do this.
Here's it in detail: http://www.echoecho.com/flashbuttons01.htm
[There are thousands of others here]
i prefer making my buttons out of movie clips... its just easier for me that way.. plus you can do a whole heap more stuff with it ;o
|
|
01-07-2009 11:07 AM |
|
|
M73A
Veteran Member
Posts: 3213 Reputation: 37
34 / /
Joined: Jul 2004
|
O.P. RE: Easiest way to animate a short cartoon?
im going to try and make like a dog sprite for the different things he does, that all return to the same place, so when i press a button the sprite of the action can be played.
it seems to make sense in my head. thanks for the help
quote: Originally posted by linx05
Microsoft Powerpoint
lol >.<
quote: Originally posted by NanaFreak
quote: Originally posted by vaccination
Nice!
To make a button clickable is quite simple, in essence all you do is make a button, and use some code which says when this area is clicked, go to frame 10 and do this.
Here's it in detail: http://www.echoecho.com/flashbuttons01.htm
[There are thousands of others here]
i prefer making my buttons out of movie clips... its just easier for me that way.. plus you can do a whole heap more stuff with it ;o
like what?
edit:
if i add buttons around the outside for different actions, is it easy to have them smoooooooooothly play a different action
would i have to make different gifs to play, or would i have to make different flames in flash? and the button plays a certain amount of frames?
This post was edited on 01-07-2009 at 01:05 PM by M73A.
|
|
01-07-2009 12:44 PM |
|
|
vaccination
Veteran Member
Posts: 2513 Reputation: 43
32 / / –
Joined: Apr 2005
|
RE: Easiest way to animate a short cartoon?
quote: Originally posted by M73A
quote: Originally posted by NanaFreak
quote: Originally posted by vaccination
Nice!
To make a button clickable is quite simple, in essence all you do is make a button, and use some code which says when this area is clicked, go to frame 10 and do this.
Here's it in detail: http://www.echoecho.com/flashbuttons01.htm
[There are thousands of others here]
i prefer making my buttons out of movie clips... its just easier for me that way.. plus you can do a whole heap more stuff with it ;o
like what?
I think he means making a movie clip, and using actionscript to code the hover/pressed effects instead of the keyframe thing buttons give you.
|
|
01-07-2009 12:51 PM |
|
|
Pages: (3):
« First
«
1
[ 2 ]
3
»
Last »
|
|