hi,
I am writing a game in iPad using cocos2d.
I need to mix two actions,
One action is, to get the rotation of the object. I have 10 images of the rotation of an object. When we animate them we get the rotation of the object.
Second action is to move the object from one edge to other edge. I am able to get one action after the other. But I need both actions at same time.
The object should rotate while it moves from one edge to opposite edge. How can I mix both the animations.
Thank You.
How can we get two animations run simultaneously ?
(3 posts) (2 voices)-
Posted 1 year ago #
-
Hi,
I used
id action = [CCSpawn actions:Action1, Action2, nil];But, It could not get the effect of rotation of the object while it is moving.
Thank You.Posted 1 year ago # -
hello srikanth,,
please also post the code of action1 and action2. So it will clear your question..Thanks
Posted 1 year ago #
Reply
You must log in to post.