Переходьте в офлайн за допомогою програми Player FM !
Introduction to Sprite Kit – Part 8 – Changing zPositions at Runtime and Making a Custom Class
Manage episode 170531869 series 1144178
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
70 епізодів
Manage episode 170531869 series 1144178
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
70 епізодів
Усі епізоди
×Ласкаво просимо до Player FM!
Player FM сканує Інтернет для отримання високоякісних подкастів, щоб ви могли насолоджуватися ними зараз. Це найкращий додаток для подкастів, який працює на Android, iPhone і веб-сторінці. Реєстрація для синхронізації підписок між пристроями.