Moving Camera in SpriteKit Swift
问题 I am creating a game in sprite kit using swift, and I am trying to be able to move the SKScene around with a finger because not all of the nodes fit within the scene. I have already created world, overlay, and camera nodes with this code. override func didMoveToView(view: SKView) { world = self.childNodeWithName("world")! if !isCreated { isCreated = true // Camera setup self.anchorPoint = CGPoint(x: 0.5, y: 0.5) self.world = SKNode() self.world.name = "world" addChild(self.world) self.cam =