-
Having a character jump
Would you guys reccomend animating a jumping action in a platformer style game. Or using action script. Would this help out when running hitTest's and other functions to get a charcter to jump onto obstacles.
-
Senior Member
If it were me, I would animate the character moving in place (as if jumping - his legs bending etc.), but use actionscript to control his _x/_y position.
An advantage of this system is that the _x and _y of the character are always the same in relation to his body, and can be used for point hit testing.
Also, I can use more physically based variables to control his jumping - giving him extra height, having him jump off of springs, etc.
Last edited by jbum; 11-27-2004 at 02:09 PM.
-
Thanks, that's what I was thinking. And fast original reply too.
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
|