Please Help!...how To Programmatically Make Animation(Hand Movement) In Corona Sdk

I would like to know how to make hand movement animation in corona sdk?For example,I have a Man image and want to move his hand programmatically.May I know how to move his hand programmatically without using frame by frame(don’t want to draw so many frame)?

Hi @apple_id7,

For this, most people use transitions. Here are the API docs on this:

http://docs.coronalabs.com/api/library/transition/index.html

Hope this helps,

Brent

Thanks a lot…Brent…

Can I get the sample code? I would like to wave the Object’s Hand using the same object image without drawing another image again.Is it possible to do like that?

You have a static image and you want it to animate. The *best* answer is, “…and people in Hell want ice water.” :slight_smile:

But while accurate, I know that answer isn’t what you’re looking for. (Except, of course, that it is the correct answer.)

While there are ways you might be able to kludge it to work, the *easiest* and best way is to create at least one more frame. Just duplicate the picture and in an art program like Acorn or Photoshop, select the arm (or part of) and move it however far you want. Save that new picture.

Now you have two frames that can make the guy wave and you have different options as far as how to animate it.

 Jay

Thanks a lot!!!..Jay…

Hi @apple_id7,

For this, most people use transitions. Here are the API docs on this:

http://docs.coronalabs.com/api/library/transition/index.html

Hope this helps,

Brent

Thanks a lot…Brent…

Can I get the sample code? I would like to wave the Object’s Hand using the same object image without drawing another image again.Is it possible to do like that?

You have a static image and you want it to animate. The *best* answer is, “…and people in Hell want ice water.” :slight_smile:

But while accurate, I know that answer isn’t what you’re looking for. (Except, of course, that it is the correct answer.)

While there are ways you might be able to kludge it to work, the *easiest* and best way is to create at least one more frame. Just duplicate the picture and in an art program like Acorn or Photoshop, select the arm (or part of) and move it however far you want. Save that new picture.

Now you have two frames that can make the guy wave and you have different options as far as how to animate it.

 Jay

Thanks a lot!!!..Jay…