tvOS and the Apple TV - Beginning SpriteKit - raywenderlich.com
992 views · Published 31 August 2017 · 14:09 · Indexed 25 October 2026
Channel: Kodeco · 2017 · Education
Learn how to port Zombie Conga to the Apple TV. --- About www.raywenderlich.com: raywenderlich.com is a website focused on developing high quality programming tutorials. Our goal is to take the coolest and most challenging topics and make them easy for everyone to learn – so we can all make amazing apps. Update course: https://videos.raywenderlich.com/courses/58-beginning-spritekit/lessons/1 We are also focused on developing a strong community. Our goal is to help each other reach our dreams through friendship and cooperation. As you can see below, a bunch of us have joined forces to make this happen: authors, editors, subject matter experts, app reviewers, and most importantly our amazing readers! --- SpriteKit is a graphics rendering and animation infrastructure that you can use to animate arbitrary textured images, otherwise known as sprites. SpriteKit provides a traditional rendering loop that alternates between determining the contents of and rendering frames. You determine the contents of the frame and how those contents change. SpriteKit does the work to render that frame efficiently using graphics hardware. SpriteKit is optimized for applying arbitrary animations or changes to your content. This design makes SpriteKit more suitable for games and apps that require flexibility in how animations are handled. Animation and rendering is performed by an SKView object. You place this view inside a window, then render content to it. Because it is a view, its contents can be combined with other views in the view hierarchy. Content in your game is organized into scenes, which are represented by SKScene objects. A scene holds sprites and other content to be rendered. A scene also implements per-frame logic and content processing. At any given time, the view presents one scene. As long as a scene is presented, its animation and per-frame logic are automatically executed . To create a game or app using SpriteKit, you either subclasses the SKScene class or create a scene delegate to perform major game-related tasks. For example, you might create separate scene classes to display a main menu, the gameplay screen, and content displayed after the game ends. You can easily use a single SKView object in your window and switch between different scenes. When you switch scenes, you can use the SKTransition class to animate between the two scenes.
More from this channel
-
0:28
The Ant and The Chrysalis | Wild Fables
-
0:45
Cocos2D Via Minigames Workshop Trailer
-
0:13
Wild Fables | Crane Neck Experiment
-
1:11
iOS Winter Wonderland
-
0:36
The Country Mouse and the City Mouse | Wild Fables
-
1:24
The iOS Christmas Song
-
1:13
iOS Games by Tutorials: Juice Your Game
-
1:00:36
January 2015 Tech Talk: WatchKit