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 monthly until cancelled

  • Billed yearly until cancelled

Buy Now