-
2 moving questions
1. How can I make a smooth moving like in this game-
http://www.miniclip.com/crypt/cryptraider.htm
and not a "bad" moving like in here-
http://www.kirupa.com/developer/mx/movement_keys.htm
?
2. How can I make a moving animation? I mean when I'll press left I will see the char legs moving
thanks everybody
-
some1?
please... anyone...?
-
Senior Member
You would make a keyframe that has the characters walking animation, then put a
code:
gotoAndPlay("walkingAnim");
right after the keyPress in your code.
Flash is amor; nada more.
-
thanks but I have 2 question-
what is keyPress?
and I have more then 0ne keyframe of animation, is it ok?
-
Senior Member
From the tutorial that you posted...
code:
on (keyPress "<Left>") {
currentX = this._x;
this._x = currentX - 2;
_root.bug._rotation = 270;
this.gotoAndPlay("walkLeft");
}
That's fine that you have more than one keyframe, since it needs to walk in more than one direction.
Post your fla if you have anymore questions.
Flash is amor; nada more.
-
thanks but I still have a lot of problams...
here is the fla-
http://members.lycos.co.uk/xtks/Untitled-2.fla
can u try to find out what the probla, is and help me?
thank u very much.
-
Senior Member
save your fla again in MX format and repost.
Flash is amor; nada more.
-
-
Senior Member
You needed to label the frames of your animation, and you also needed to put the animations within the actual man's mc to make it more versatile for a game. (if thats what youre making)
Flash is amor; nada more.
-
Thanks know I know it.
Thank u
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|