I want to make animated space background in my game, i tried using nodes on spritekit "stars nodes" but the game become laggy because of the amount of the stars, is there any program or way to make HD animated background ?
You just need one node for the background ya know.
Basically, you create each frame of your animated background as images. You can put these images into an image atlas in the asset catalogue.
Now, you can add a single sprite node that covers the whole scene as the "background". You just set the texture of the sprite node to the first frame of your animation.
didMoveToView or some methods like that,
textureNamedand put each of them into an
yourBackgroundSprite.runAction(SKAction.repeatForever( SKAction.animateWithtextures(theTexturesYouCreatedInStep2, timePerFrame: 30) ))