Type Method

flipVerticalWithDuration:

Creates a transition where the two scenes are flipped across a vertical line running through the center of the view.

Declaration

+ (SKTransition *)flipVerticalWithDuration:(NSTimeInterval)sec;

Parameters

sec

The duration of the transition.

Return Value

A new transition.

See Also

Creating Transitions

+ crossFadeWithDuration:

Creates a cross fade transition.

+ doorsCloseHorizontalWithDuration:

Creates a transition where the new scene appears as a pair of closing horizontal doors.

+ doorsCloseVerticalWithDuration:

Creates a transition where the new scene appears as a pair of closing vertical doors.

+ doorsOpenHorizontalWithDuration:

Creates a transition where the new scene appears as a pair of opening horizontal doors.

+ doorsOpenVerticalWithDuration:

Creates a transition where the new scene appears as a pair of opening vertical doors.

+ doorwayWithDuration:

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

+ fadeWithColor:duration:

Creates a transition that first fades to a constant color and then fades to the new scene.

+ fadeWithDuration:

Creates a transition that first fades to black and then fades to the new scene.

+ flipHorizontalWithDuration:

Creates a transition where the two scenes are flipped across a horizontal line running through the center of the view.

+ moveInWithDirection:duration:

Creates a transition where the new scene moves in on top of the old scene.

+ pushWithDirection:duration:

Creates a transition where the new scene moves in, pushing the old scene out of the view.

+ revealWithDirection:duration:

Creates a transition where the old scene moves out of the view, revealing the new scene underneath it.

+ transitionWithCIFilter:duration:

Creates a transition that uses a Core Image filter to perform the transition.