Is it possiable to change Frame delay time during animation acting??

Hi,

I have a question that Is it possiable to change DelayPerUnit value during animation acting?? ( like a repeatForever )

If I want to change DelayPerUnit value, What should I do?

Actually, I coded like a below…

pline->cleanup(); // animation cleanup.
this->line_jump_img_f(); // animation restart with DelayPerUnit value changed.

Do you have some solution on this?

Thanks.

You could try with CCSpeed action. Then you can control speed of your action.

Thanks for reply.

However it`s not action. It is animation so is it the same way to change the speed both action and animation??

I’m not sure if we speak about CCAnimate so yes.

Thank you for reply.

I tried with CCSpeed , it works fine.

I can control the speed of animation.

Best,