What every good game needs is a good
animated character. I will explain now how to make one.
First we need to draw him, I will use this char as a promotion of
how2flash new game that is currently
in development. [char movie clip, first
frame]
Now we have character that will be in our game. But he looks kinda
lifeless like this, don't you think?
So let's give him some life by making his eyes blink. But before
we do that you must put your char in
a movie clip and when you do that, select his head and make it another
Movie Clip. NOW we can make
his eyes blink in that "Head" movie clip. Now char looks
like this:
( char movie clip[frame 1], standing movie clip)
So now he is standing and blinking with his eyes, next thing we
need to make is walk or run animation
and we will do that in next frame of char movie clip(just don't
make another frame in standing movie clip)
in frame 2 of your char movie clip you can: Delete everything, select
everything and break it a part, or
animate his body to walk or run. Something like this:
(char movie clip[frame 2], walk move clip)
Now we have our character setup to give him codes or you can make
more animation(attacking, jumping, etc.)
Now I have to explain why should you make it like this;
When you give your char codes for walking the code will look something
like this.
if(Key.isDown(Key.RIGHT)){
//i really don't think that this needs explanation
//make your play walk/run animation
this.gotoAndStop(2);
//this code makes your char move right
this._x+=5;
//you can add scale code here if your gonna
make him turn left or right, like this
_xscale=100;
}
I don't think that you should get more
codes becouse you need to do something on
your own and I won't be much of a help if I would just give you
full codes. And there are
other reasons for not giving the codes, for example i don't know
what type of game or
style you would like to make. This is enough.