Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I want to develop a flash game. It would draw a stick man, and edit his pose.

I think what I need to learn are bones animation and physics engine.

Can anyone introduce some good resources to learn both?

share|improve this question

4 Answers 4

up vote 6 down vote accepted

Here is another such tutorial, which might help you:

http://content.gpwiki.org/index.php/OpenGL:Tutorials:Basic_Bones_System

It's very thorough, and I even used it once to produce an animation engine. The theory is very good and it should be easily understood for you to use it in AS3.

share|improve this answer
    
This is a very detailed toturial about bones animation. Thank you! –  Mobius Apr 3 '11 at 13:02

I'd look into a physics engine like Box2D or Nape. These engines come with several different joints you can use to animate lots of different stuff. Here's an example of the different joints/constraints possible.

On the Box2D (for Flash) homepage you'll also find a Ragdoll example which probably comes really close to what you're trying to achieve. Maybe you could take the ragdoll-example code as a starting point for your own modifications?

share|improve this answer
1  
+1 for attempting to use existing libraries instead of reinventing the wheel. –  egarcia Mar 30 '11 at 10:21
    
Ragdoll physics are great for ragdolls. Not so great for posing/animation. Ideally the ragdoll will closely resemble the rig, but they are not driven by the same system. –  deft_code Apr 1 '11 at 20:59

Check out the skeleton animation tutorial over at Rookscape. It's VB based but the theory should be sound. Also take a look at some of the other tutorials if need be...

HTH

share|improve this answer

I would definitely take a look at some of the underlying principals in skeletal movements.

General background: http://en.wikipedia.org/wiki/Inverse_kinematics

Good pictures here: http://freespace.virgin.net/hugo.elias/models/m_ik.htm

This guy was doing 2D stick figures: http://www.chrishecker.com/Inverse_Kinematics

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.