I am using what I learned in the video tutorials to fill the screen (code below). aspectFit leaves me lots of blank space so I can't use that. However, after applying aspectFill the scene width & height values remain unchanged.
Is there a way I can either read size of the actual screen, or detect where the scene boundaries are off the screen?
Is there a way I can either read size of the actual screen, or detect where the scene boundaries are off the screen?
Code Block if let view = self.view as! SKView? { let scene = GameScene(size: CGSize(width: 1536 , height: 2048)) scene.scaleMode = .aspectFill view.presentScene(scene) }