Sprite Kit Intro (For Swift Playgrounds on the iPad)

Lesson 1- Shape Nodes and Physics Bodies

 

Last Update: 11/24/2017

This is a first draft of the package. Please send any feedback to dan.kurz@dsb1.ca.

Resources:

-         SpriteKitStarter1 Copy it into a new Swift Playgrounds or get Mr.Kurz to AirDrop you the most recent version (Recommended)

 

-         SpriteKit Documentation

 

Learning Goals:

In this tutorial you will learn how to:

 

        Make SKShapeNodes and set their properties

 

        Create PhysicsBodys to give your shapes motion and other properties

 

Discussion Questions:

 

1.     What are the properties of an SKShapeNode that you can modify?

 

2.     What are the properties of a SKPhysicsBody that you can modify?

 

3.     Why do you think shapes would be referenced from their center instead of one of their corners?