Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class GameScene: SKScene {
- // no init override here
- }
- if let scene = GameScene(fileNamed: "GameScene") {
- // Set the scale mode to scale to fit the window
- scene.scaleMode = .aspectFill
- // Present the scene
- sceneView.presentScene(scene)
- }
Add Comment
Please, Sign In to add comment