samedi 25 avril 2015

SpriteBuilder timeline autoplay animation not running


I am trying to understand SpriteBuilder.

I am facing problem of autoplay animation; it behaves strangely. I am sure I am missing some steps.

It is running in one case while in other when I load the .ccb file it is not running.

How can I track why autoplay animation is not running in .cbb file when I load it? What am I doing wrong?

And in the same way, the code of

[self.animationManager runAnimationsForSequenceNamed:@"WaitingForOpponent"];

is also not working in the same way. though it works some time.

EDIT

Actually, I found it; it stops working when I get invitation via Game Centre for playing game. In short, if I get UIAlertView from Game Centre all animations of sprite builder stops working. But I don't know how to tackle that situation.

Thanks.


Aucun commentaire:

Enregistrer un commentaire