Sample code using the SpriteKit framework