Animating on Flash

Page 1 of 3 1, 2, 3  Next

View previous topic View next topic Go down

Animating on Flash

Post by GaB on Tue Oct 07, 2008 9:19 pm

Animating on Flash
Made by Secht (GaB)
If you copy and paste this guide, please give credits to me!


Introduction

I recommend reading xSwiftxClawx's BASIC Guide to Flash before reading this. This tutorial assumes that you already know everything in xSwiftxClawx's guide.


Alignment Problem

I've been hearing a few people with alignment problems in Flash where the character/skill moves 1 pixel up, down, left, or right. To fix this just round the X and Y numbers. It SHOULD fix that little problem.
(EX: [1])

Notice the X and Y numbers. The X is -22.5 and the Y is -36. The ".5" (or any number below ".5" or above ".5") usually causes that weird alignment problem. As already mentioned, round the number to the closest whole number.
NOTE: Must do this on EVERY sprite you put on to the stage if you don't want that alignment problem.

I don't see the X and Y, where is it?
Use the selection tool and click on the image.
(EX: [1])


Organizing Your Library

This really helps in making an animation. To make a folder click the folder looking icon that's at the bottom of the library, and name it whatever you want.
(EX: [1], [2])

To add sprites to the folder just drag the image on top of the folder. You can also add graphics, movie clips, and buttons. If you want to add multiple images at a time, click an image in the library, then hold shift. Still holding shift, click on the last image. Then just drag and drop the images into the folder.


Basic Walk

Start out by making a graphic (CTRL+F8). Assuming you already imported all your images, drag the first walk stance on to the stage (first frame). I like to copy and paste the image on to the stage so that it's in the middle.
(EX: [1])

Now make another frame (F7) and paste the next stance. Repeat until all the stances are on the stage. Now click on each keyframe () and hit F5 four times. This makes each stance last a little bit longer. So the walk will be smooth. You can preview the animation by hitting enter.
NOTE: This is for a slow walk. If you want a faster walk, decrease the amount of frames of each stance.

This is what it should look like-

Now you can just motion tween the graphic. (:

Again, be sure to round the X and Y numbers of each walk stance. (Note: The second and fourth frame should go 1 pixel down. If you don't know what I mean, preview the walk animation in BannedStory.


Scrolling Background
Requested by NorthNinja

First off, you'll need a map or background. I'll be using this. Now, open up a Flash document. The size I'll be using is 550x400. Make a Movie Clip or Graphic. (CTRL+F8) Name it whatever you want.

Now once that's made, go to your library and click on your map/background, then paste it unto the graphic/movie clip you've just made. (Do this 2x, the copied map should be on another layer.)
(EX: [1])

After that's done, make a new layer, and make a square/rectangle that's EXACTLY your Flash document size. My square/rectangle will have to be 550x400.

Align the map to the tip of the box. Align the copied map to to the original.
(EX: [1], [2])

Go to the 500th frame, and hit F6 on both the layers of the map and box. Move the end of the original map to the other end of the box. And move the copy to the end of the original.
(EX: [1], [2])

Now just motion tween both map layers and you can delete the box layer. VOILA, you now have a scrolling background. (:



Motion Guides
Motion Guides are pretty simple and easy to make. They can help in making directional jumps quickly.

Start off by dragging any sprite unto the stage and create a motion tween in any direction.
(EX: [1])

Near the layers, there should be a little icon with a dotted line and a small dot at the end of it- click it.
(EX: [1])

Click the newly made layer and on the first frame, make a line using the line tool.
NOTE: Make the line start at the center of the sprite. The sprite will follow the exact path of the line.

Using the free transform tool, make the line curve or however you want the sprite to move.
(EX: [1])

. . . and that's pretty much it. It should come out like this-


It doesn't work! The sprite doesn't follow the line!
When you click on the sprite using the selection tool, you'll notice a circle in the middle of your sprite. Go to the last frame and make sure that the circle is aligned with the line.
(EX: [1])


Last edited by GaB on Sat May 16, 2009 2:42 pm; edited 5 times in total

GaB
Admin

Male Number of posts: 265
Registration date: 2008-10-04

View user profile

Back to top Go down

Re: Animating on Flash

Post by Tevin on Wed Oct 08, 2008 5:46 am

Gawd gotta love these features on this forum good job secht

Tevin
Animation Team

Male Number of posts: 232
Age: 15
Location: Under your covers
Registration date: 2008-10-08

View user profile

Back to top Go down

Re: Animating on Flash

Post by Felix737 on Wed Oct 08, 2008 4:01 pm

hmmm. nice going i sorta followed this guide i first learned from JrMadness
from youtube the guide JrMadness made so cant blame ya but its good just that direction jump isnt my type of thing

Felix737
Animation Team

Male Number of posts: 384
Location: A Space Rift In Maplestory
Registration date: 2008-10-08

View user profile

Back to top Go down

Re: Animating on Flash

Post by Taysuke on Sun Oct 12, 2008 5:26 pm

Pretty nice!, it would be better if you put some pics or make a video ya know.

Taysuke
Newbie

Number of posts: 7
Registration date: 2008-10-12

View user profile

Back to top Go down

Re: Animating on Flash

Post by Anashi on Sun Oct 12, 2008 5:30 pm

it does have pictures o.o

_________________
Motivation Level: [ l l l l l ]

ROW ROW FIGHT THE POWER!

Anashi
Member

Male Number of posts: 2458
Age: 13
Location: UNEXPECTED SACK ATTACK!!
Registration date: 2008-10-08

View user profile

Back to top Go down

Key frames

Post by Pandamonium360 on Sun Oct 19, 2008 7:02 pm

The key frames piss me off Crying or Very sad if i want to throw a steely or something how many frames should i use? same for walking.

Pandamonium360
Member

Male Number of posts: 14
Age: 15
Registration date: 2008-10-20

View user profile

Back to top Go down

Re: Animating on Flash

Post by Pandamonium360 on Sun Oct 19, 2008 7:04 pm

hey how did you make your icon fold his arms?

//Warned for double posting. ~Secht

Pandamonium360
Member

Male Number of posts: 14
Age: 15
Registration date: 2008-10-20

View user profile

Back to top Go down

Re: Animating on Flash

Post by Anashi on Sun Oct 19, 2008 7:32 pm

dont double post, its a custom sprite, have a short number of frames for steely, 5 frames = a walking sprite

_________________
Motivation Level: [ l l l l l ]

ROW ROW FIGHT THE POWER!

Anashi
Member

Male Number of posts: 2458
Age: 13
Location: UNEXPECTED SACK ATTACK!!
Registration date: 2008-10-08

View user profile

Back to top Go down

Steely help for Pandamonium360

Post by chsiao999 on Tue Oct 21, 2008 8:01 pm

Pandamonium360 wrote:The key frames piss me off Crying or Very sad if i want to throw a steely or something how many frames should i use? same for walking.


well it depends on how fast you want it to go
but if there isn't too many changes in between the keyframes, i would suggest motion tween

chsiao999
Member

Male Number of posts: 33
Age: 13
Location: behind you :D
Registration date: 2008-10-21

View user profile http://www.youtube.com/user/chsiao999

Back to top Go down

Re: Animating on Flash

Post by Anashi on Tue Oct 21, 2008 9:29 pm

flash is known for being easy to use Awesome

_________________
Motivation Level: [ l l l l l ]

ROW ROW FIGHT THE POWER!

Anashi
Member

Male Number of posts: 2458
Age: 13
Location: UNEXPECTED SACK ATTACK!!
Registration date: 2008-10-08

View user profile

Back to top Go down

Re: Animating on Flash

Post by Nightbeam on Sun Oct 26, 2008 1:00 pm

Well a lot of people simply use the same action (like the 2nd step of throwing) but only move it an inch to where they are throwing it.

Remember, to make an animation slow-paced you need to have a lot of frames e.g. you could have 4 frames of a guy jumping across the screen but to make it look nice and clean you could probably have 10.

Nightbeam
Member

Number of posts: 17
Registration date: 2008-10-26

View user profile

Back to top Go down

Re: Animating on Flash

Post by Colvonfeg on Sun Oct 26, 2008 1:11 pm

Guise, you can just use motion tween. o_o
It's probably a lot easier than what Secht is doing. It takes 5 seconds.

_________________

Currently Listening To: Evanescence - Everybody's Fool

Colvonfeg
Graphics Team

Male Number of posts: 778
Age: 99
Location: New MSN; Add me. c: Click down there.
Registration date: 2008-10-10

View user profile

Back to top Go down

Re: Animating on Flash

Post by Apple on Wed Oct 29, 2008 9:23 am

Well on the walking stance if your gonna make it walk to another spot make it 10 pixel each.

Apple
Member

Number of posts: 18
Registration date: 2008-10-09

View user profile

Back to top Go down

Re: Animating on Flash

Post by ninjaapie on Sun Nov 09, 2008 6:05 pm

so how do you allign skills like boomerang step?

ninjaapie
Newbie

Number of posts: 3
Registration date: 2008-11-08

View user profile

Back to top Go down

Re: Animating on Flash

Post by CaptainEagle on Mon Nov 10, 2008 2:57 pm

ninjaapie wrote:so how do you allign skills like boomerang step?


Easiest way is to activate the grid and align it yourself.

CaptainEagle
Member

Male Number of posts: 988
Age: 14
Location: January 8, 1815: New Orleans
Registration date: 2008-10-09

View user profile

Back to top Go down

Re: Animating on Flash

Post by 0soultiger0 on Fri Nov 14, 2008 10:29 pm

i use Macromedia Flash 8 but after we finish the animation how to save it as swf file ?

0soultiger0
Member

Male Number of posts: 51
Location: Behind U !
Registration date: 2008-10-08

View user profile

Back to top Go down

Re: Animating on Flash

Post by Anashi on Fri Nov 14, 2008 10:34 pm

0soultiger0 wrote:i use Macromedia Flash 8 but after we finish the animation how to save it as swf file ?

Export it

_________________
Motivation Level: [ l l l l l ]

ROW ROW FIGHT THE POWER!

Anashi
Member

Male Number of posts: 2458
Age: 13
Location: UNEXPECTED SACK ATTACK!!
Registration date: 2008-10-08

View user profile

Back to top Go down

Re: Animating on Flash

Post by dark3nkid on Fri Dec 26, 2008 9:46 am

where to download macromedia flash player 8?

dark3nkid
Member

Number of posts: 11
Registration date: 2008-12-26

View user profile

Back to top Go down

Re: Animating on Flash

Post by Gregio on Fri Dec 26, 2008 9:54 am

GOOGLE IT.
Stop being so damn helpless. You are not a retard. I hope, anyways.

_________________


Gregio
Map Maker

Male Number of posts: 1618
Age: 22
Registration date: 2008-10-05

View user profile

Back to top Go down

Re: Animating on Flash

Post by dark3nkid on Fri Dec 26, 2008 10:47 am

hey did u guys know banned story 3.0 and 3.2 dun have flash jump?

dark3nkid
Member

Number of posts: 11
Registration date: 2008-12-26

View user profile

Back to top Go down

Re: Animating on Flash

Post by mapleaddicted on Fri Dec 26, 2008 11:05 am

Gregio wrote:GOOGLE IT.
Stop being so damn helpless. You are not a retard. I hope, anyways.

God Gregio that was frickin mean.

_________________

Spoiler:
Credits to Mark for userbar.
Credits to Jeff for running sprites.
Credits to Tahgamer for battle stance.

mapleaddicted
Member

Male Number of posts: 1459
Age: 15
Location: Hong Kong
Registration date: 2008-10-18

View user profile

Back to top Go down

Re: Animating on Flash

Post by Mark on Wed Dec 31, 2008 1:56 am

dark3nkid wrote:hey did u guys know banned story 3.0 and 3.2 dun have flash jump?
No Ladey FRICKEN DAH!

Mark
Graphics Team

Male Number of posts: 1412
Age: 12
Registration date: 2008-12-13

View user profile

Back to top Go down

Re: Animating on Flash

Post by Exxo on Wed Dec 31, 2008 5:32 am

mtplaya wrote:No Ladey FRICKEN DAH!

English please?

_________________

Exxo
Multimedia Mod

Male Number of posts: 1515
Age: 16
Location: Land of Boringness
Registration date: 2008-10-08

View user profile http://www.exxo2552.wordpress.com

Back to top Go down

Re: Animating on Flash

Post by Lukas on Wed Dec 31, 2008 7:32 am

'No DUH' ?

_________________
Spoiler:


Lukas
Member

Male Number of posts: 1527
Age: 16
Registration date: 2008-10-08

View user profile

Back to top Go down

Re: Animating on Flash

Post by Jurkey on Wed Dec 31, 2008 8:15 am

You can just make the background a graphic.

_________________

Jurkey
Member

Male Number of posts: 943
Age: 13
Location: Being in Wobble's comic making fun of him getting beated up by Gregio :3
Registration date: 2008-12-22

View user profile

Back to top Go down

Page 1 of 3 1, 2, 3  Next

View previous topic View next topic Back to top


Permissions of this forum:
You cannot reply to topics in this forum