Contents

doorway(withDuration:)

Creates a transition where the previous scene disappears as a pair of opening doors.

Declaration

class func doorway(withDuration sec: TimeInterval) -> SKTransition

Parameters

  • sec:

    The duration of the transition.

Return Value

A new transition.

Discussion

The new scene starts in the background and moves closer as the doors open.

See Also

Creating Transitions