I want to have background stationary with different objects (sprites and other objects).
Player will be represented by center node that will move around the world. I
Using SKCameraNode with SKConstraint in Swift 5.1
SKCameraNode
SKConstraint
let camera = SKCameraNode() camera.constraints = [.distance(.init(upperLimit: 10), to: node)] scene.addChild(camera) scene.camera = camera