Guest User

Untitled

a guest
Dec 14th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. class GameScene: SKScene {
  2. // no init override here
  3. }
  4.  
  5. if let scene = GameScene(fileNamed: "GameScene") {
  6. // Set the scale mode to scale to fit the window
  7. scene.scaleMode = .aspectFill
  8.  
  9. // Present the scene
  10. sceneView.presentScene(scene)
  11. }
Add Comment
Please, Sign In to add comment