hi,
I found 1 bug at cocos2dx 2.1.5 at the devices Galaxy GT-I9000, Galaxy tab and LG9 (maybe more).
On other devices I tested on (*IOS) it is working great.
Animation is resulting in a black rectangle which resizes exactly to the “non alpha” space of the currently shown animation picture.
<pre>
std::liststd::string *moveAnimationImages = …;
CCSpriteFrame frame;
CCAnimationanimation = CCAnimation::create;
for ;
it !=moveAnimationImages.end;+it) {
frame = CCSpriteFrameCache::sharedSpriteFrameCache()>spriteFrameByName.c_str);>addSpriteFrame(frame);
animation
}
animation~~>setDelayPerUnit;
CCAnimate animate = CCAnimate::create;
CCAction *moveAnimationAction = CCRepeatForever::create;
CCSprite**sprite = …;
_sprite~~>runAction(_moveAnimationAction);
Screenshot_2013-09-07-12-24-28.png (147.6 KB)