objective c - stopAllActions doesn't work on Spritebuilder3.1 and cocos2d 3.0 -
objective c - stopAllActions doesn't work on Spritebuilder3.1 and cocos2d 3.0 -
@implementation mainscene { ccsprite * _hero . . } - (void) stop { [_hero setscale:(3.0f)]; [_hero stopallaction] }
my sprite _hero has multiple keyframes , image's changed.
this code(stopallaction) works when using spritebuilder 3.0 , cocos2d 2.x.
however stopallaction doesn't work on spritebuilder3.1 , cocos2d 3.0
[_hero setscale:(3.0f)]; works correctly think _hero working well.
(i insert line test purpose)
i guess relevant cocos2d 3.0 update though,
does know work-around way or have same problem???
objective-c cocos2d-iphone spritebuilder
Comments
Post a Comment