iphone - How can we set time delay in animation of images to make them appear smooth? -


I have 10 cspace images, they continue the images I am using,

 < Code> CCSprite * playerH = [CCSprite spriteWithFile: @ "Player_01.png"]; PlayerH.position = CCP (player H. content size.width / 2, windowSystemHight / 2); [Self added hair: player H z: 1]; Cc animation * animation = [cc animation animationAnonymous: @ "dance" delay: 0.20f]; For (Int i = 1; I  

But the animation is not released. I changed the animation delay time, but, I can only see three images. How do we know how much time interval should be in animation?

Is there any relationships between this and the frame rate

  [[CCCCC director share director] Set Animation Interface: 1.0 / 60]; [[Ccdc director shared director] setdisplayfps: yes];  

Thanks.

I found my animation easily; I think it's

  [[CCCCeter ShareShare Depends on Set Animation Interface: 1.0 / 60]; [[Ccdc director shared director] setdisplayfps: yes];  

The first setAnimationInterval value is 60.0 / 60th I changed it to 1.0 / 60. When the value is 1.0 / 60 then I can get all the images I have adjusted the animation time delay between images.
However, when Set Animation Interface is 60.0 / 60, even then I set the value of the animation delay in 1second, I could not display all 10 images.
However, I need some clarification on Set Animation Interval:
Thanks.


Comments