Learn iOS SpriteKit with Examples, Code Snippets and Video Tutorials

Objective C

  • Sprite Kit with Objective C lessons

    Problem when Xcode Simulator Builds to iPhone 6 or iPhone 6 Plus

    I had this issue with a couple projects recently, one of which was my Fantastic Worlds iOS Starter Kit.  It was…

    by Justin
  • Sprite Kit with Objective C lessons

    Adding iAds to a Sprite Kit App

    Lets see if I can remember the steps to adding iAds to a Sprite Kit (Objective C) project. First be…

    by Justin
  • Sprite Kit with Objective C lessons

    Sprite Kit crashing with NSGenericException “mutated while being enumerated”

    For those of you Sprite Kit users jumping on the newest version of Xcode, you might run into this… Terminating app…

    by Justin
  • Sprite Kit with Objective C lessons

    A Sprite Kit issue changing the xScale or yScale of a physics body

    So it seems Sprite Kit doesn’t like it when a node has a physics body and you change the xScale…

    by Justin
  • Sprite Kit with Objective C lessons

    Sprite Kit Gravity 101

    For those of us that didn’t really pay attention in high school physics, the term “vector” might sound fancy. It…

    by Justin
  • Sprite Kit with Objective C lessons

    Properly removing nodes with Sprite Kit

    The word “properly” might be an overstatement as there could be even more proper ways to remove a node, but…

    by Justin
  • Sprite Kit with Objective C lessons

    Tile a background image with Sprite Kit.

    This caused me some initial issues (mostly to do with a critical warning about the context equaling 0,0) but I…

    by Justin
  • Sprite Kit with Objective C lessons

    How to mask with Sprite Kit

    Masking is quite easy with Sprite Kit. Easier than I thought it would be, and you copy and paste this…

    by Justin
  • Sprite Kit with Objective C lessons

    Using the update method of your SKScene to update other nodes.

    Your SKScene class, whatever that may be called, has an update method like so… You’ve already seen that code…

    by Justin
  • Sprite Kit with Objective C lessons

    Stopping Scheduled Performers (or Selectors) in Sprite Kit

    Similar to unscheduling selectors in Cocos2d, with Sprite Kit you might decide to cancel a method that was told to…

    by Justin

Check out our premium Swift and Sprite Kit Tutorial content!

Visit CartoonSmart.com