I have a grow / shrink animation sequence. But for some reason the sprite does not scale smoothly. I did change the animation interval and disabled depth test but it did not fix this.
What can be the reason behind this ?
Does does have something to do with art asset that is used ?
ScaleTo* zoom_in = ScaleTo::create(1, 1.5);
ScaleTo* zoom_out = ScaleTo::create(1, 1);
Sequence* anim = Sequence::create(zoom_in,zoom_out, NULL);
RepeatForever *rep = RepeatForever::create(anim);
rep->setTag(STATION_HIGHLIGHT_ANIMATION);
station_image->runAction(rep);
↧