Hi there!
Got strange flickering / blinking artefact when playing animations for the very first time.
When i play animation two or more times everything is good.
Video: https://www.screencast.com/t/OKWzfrXKmfG
I'm using latest Starling and Spine code (as source code, not as swc).
I'm using this code on start up:
var spineAtlas:Atlas = new Atlas(atlasData, new StarlingTextureLoader(bitmapsData));
var attachmentLoader:AttachmentLoader = new AtlasAttachmentLoader(spineAtlas);
var skeletonJson:SkeletonJson = new SkeletonJson(attachmentLoader);
var skeletonData:SkeletonData = skeletonJson.readSkeletonData(jsonData);
skeletonAnimation = new SkeletonAnimation(skeletonData);
And this code when i need to play animation:
if (skeletonAnimation && !parentNode.contains(this))
{
parentNode.addChildAt(this, 0);
Starling.juggler.add(skeletonAnimation);
skeletonAnimation.state.setAnimationByName(0, animationName, (animationLoop == 0 ? false : true));
}
Also I've attached problem animation file.
Any thoughts or tips?