EndGameScene

class EndGameScene : SKScene

The SpriteKit scene class that runs the end animation.

  • The character sprite to animate.

    Declaration

    Swift

    var character: SKSpriteNode?
  • Set up the scene, play the reveal animation, and unlock the “Underneath it All” achievement.

    Declaration

    Swift

    override func sceneDidLoad()
  • Return back to the main menu.

    Declaration

    Swift

    func didFinish()