fps - CCActionMoveBy doesn't working properly when the action called for many of the sprite in cocos2d -



fps - CCActionMoveBy doesn't working properly when the action called for many of the sprite in cocos2d -

i have issue ccactionmoveby when i phone call action many of sprite. need move position , remove scene. here sprites images.

my problem if phone call action 1 or 2 position working fine. when phone call action more 5 position, sprite doesn't move on right position.

i checked fps low 15 20 fps when game running. don't know how impact game. please can suggest how increment fps , electron motion correctly. here add together code

[_sprite1[1][1] runaction:[ccactionsequence actions:[self movewithposition:ccp(60,-10)], remove, nil]]; [_sprite2[1][1] runaction:[ccactionsequence actions:[self movewithposition:ccp(10, 80)], remove, nil]]; [_sprite3[1][1] runaction:[ccactionsequence actions:[self movewithposition:ccp(-10,- 80)], remove, nil]]; [_sprite4[1][1] runaction:[ccactionsequence actions:[self movewithposition:ccp(-60, 10)], remove, nil]];

the above code calling action sprite position[1][1] calling many of position @ same time sprite.

here method ccactionmoveby

-(ccactionmoveby *) movewithposition:(cgpoint) distance{ homecoming [ccactionmoveby actionwithduration:movetime position:ccp(distance.x, distance.y)]; }

movetime = 0.25f;

if need more info update please help on issue..

cocos2d-iphone fps ccaction

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -