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

Introduction to Sprite Kit – Part 8 – Changing zPositions at Runtime and Making a Custom Class

Introduction to Sprite Kit – Part 8 – Changing zPositions at Runtime and Making a Custom Class
January 19, 2017 Justin

Introduction to Sprite Kit – Part 8 – Changing zPositions at Runtime and Making a Custom Class

In this final video, we’ll use the update method to check where the player is and then change the zPosition (layering) of buildings based on that value. This will make it look like the player is visually in front of or in back of a particular building. Then finally we’ll create a Castle class, or subclass of SKSpriteNode, and demonstrate how this custom class can have it’s own functions and properties.

Hosts: Justin Dike

 

Subscribe to this Podcast on iTunes

 




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!