Build it. Play it.
Make it yours.

Practical SpriteKit guides, from native framework techniques to working Scroller2d examples in Desert Ruins and Skypirates.

Animation and Artwork

Intermediate

Switch between idle, running, jumping, and attack animations without restarting them every frame.

Read the animation guide
if clock < slashUntil {
    setPose(.slash)
} else if !grounded {
    setPose(.jump)
} else {
    setPose(.run)
}

Explore by topic

Animation and Artwork

Gameplay and Objects

Getting Started

Beginner

Run and edit Desert Ruins

Run the SpriteKit sample, move a coin in LevelEditor, and replay the jump to see your change.

SpriteKit Techniques

Level Design

Scenes and Scrolling