10
\$\begingroup\$

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?

\$\endgroup\$
7
\$\begingroup\$

Here is another such tutorial, which might help you.

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.

\$\endgroup\$
4
+25
\$\begingroup\$

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?

\$\endgroup\$
  • 1
    \$\begingroup\$ +1 for attempting to use existing libraries instead of reinventing the wheel. \$\endgroup\$ – egarcia Mar 30 '11 at 10:21
  • \$\begingroup\$ 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. \$\endgroup\$ – deft_code Apr 1 '11 at 20:59
1
\$\begingroup\$

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

\$\endgroup\$
1
\$\begingroup\$

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

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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