ios - SpriteBuilder timeline autoplay animation not running -
i trying understand spritebuilder.
i facing problem of autoplay animation; behaves strangely. sure missing steps.
it running in 1 case while in other when load .ccb file not running.
how can track why autoplay animation not running in .cbb file when load it? doing wrong?
and in same way, code of
[self.animationmanager runanimationsforsequencenamed:@"waitingforopponent"];
is not working in same way. though works time.
edit
actually, found it; stops working when invitation via game centre playing game. in short, if uialertview game centre animations of sprite builder stops working. don't know how tackle situation.
thanks.
well got answer how can achieve it, when game centre push notification cocos2d: animation stopped ** message , after message **cocos2d: animation started frame interval: 4.00.
but not starting animation
what did in applicationdidbecomeactive
put code [super applicationdidbecomeactive:application];
, solved problem :)