Wednesday Discount - Lifetime Access for $20!!!! - Click Here!

Role Playing Games Tutorial with Sprite Kit and Swift 3 - Part 5

Adding the NPC to the Scene with Plist Data and Randomly Placing It

Adding the NPC to the Scene with Plist Data

In this Swift 3 / Sprite Kit video tutorial we’ll actually get to add the NPC to the scene. We’ll create a custom class called NonPlayerCharacter, passing some of the dictionary data into it at runtime, and also write a function to place the NPC (or any node) randomly within range of a placeholder SKSpriteNode in the scene.


Can’t see the video? Subscribe!…

  • Billed once per month until cancelled

  • Billed once per year, 2 times

Buy Now




Know what an affiliate program is? You make money just by sharing links to our site! Win. Win.

Earn when you refer any buyer here! 30 day tracking. Commissions are 33%-50% and recur on subscription products!