Menu
  • HOME
  • TAGS

iOS SpriteKit run progress bar in infinite loop

ios,sprite-kit,progress-bar,skspritenode,skcropnode

Although you appear to have found a solution in Sanders answer, I would advise using SKScene's update: method, which is part of the SpriteKit rendering loop. Adding your own asynchronous calls will eventually bite you in the behind. The update: method is called once every frame and should be more...

SpriteKit SKCropNode Masks everything

objective-c,ios8,sprite-kit,mask,skcropnode

I am guessing that the image as shown below is your designated background. Have you checked your nodes zPosition? If you want to show your spaceship infront of your background, you will have to adjust the zPosition to be higher than that of the background sprite....