The SpriteKit namespace provides a library for 2D graphics, animation, and physics.
Renders a Scene Kit image as a textured 2D image. Used to incorporate Scene Kit content into a Sprite Kit app.
Modifies properties on a SKNode, often animating the changes. Sometimes reversible.
Holds per-node data to be used with a custom shader.
A SKNode that holds audio information.
A node that specifies the position inside a SKScene from which it can be rendered.
Mathematical constraint on a node's position or orientation.
A node that masks its children's pixels.
A SKNode that produces colored and textured particles.
Applies physics effects within a portion of a scene.
An object that can control the properties of particles emitted by a SKEmitterNode.
A SKNode that displays a string.
A node that creates a lighting effect within a scene.
A texture that can be modified after assignment.
The building block out of which scene-graphs are made. The root of the tree is an SKScene.
Extension methods for UITouch that aide with conversion to Sprite Kit coordinates.
Encapsulates the data of a collision between two SKPhysicsBodys.
Base class for subtypes that join bodies in the physics engine.
A SKPhysicsJoint that rigidly connects two bodies.
A SKPhysicsJoint that connects two bodies as if by a rope.
A SKPhysicsJoint that pins two bodies to a common point.
A SKPhysicsJoint that connects two bodies as if by a sliding rod.
A SKPhysicsJoint that connects two bodies as if by a spring.
Manages the physics for a SKScene.
Defines a range for acceptable float values.
A range of motion used with inverse kinematics.
A SKNode that holds an archived collection of child nodes that can be used in multiple places throughout the game.
A path-defined area. Typically used for hit-testing and physics-field extents.
The class used to render SpriteKit.
A scene of content in Sprite Kit. The root of a tree of Sprite Kit nodes.
Delegate object for SKScene objects. Provides methods relating to animation events.
An OpenGL ES fragment shader.
A SKShapeNode that displays a textured, colored sprite.
An image that can be used with one or more SKSpriteNodes and particles.
A collection of SKTextures that are loaded from a single source.
A single kind of tile in a tile map.
A collection of related SKTileDefinition objects.
Defines adjacency rules for tiles in an SKTileGroup.
A SKNode that holds a geometric transform.
Holds shareable uniform data for SKShader objects.
A SKNode that displays video.
Appearance class for objects of type SKView.
Delegate object for SKView objects, allowing the developer to control the frame rate.
Defines geometry deformation on SKNode objects.
A SKWarpGeometry subclass that defines a warpable grid.
Interface representing the required methods (if any) of the protocol SKPhysicsContactDelegate.
Interface representing the required methods (if any) of the protocol SKSceneDelegate.
Interface representing the required methods (if any) of the protocol SKViewDelegate.
Associates a SKWarpGeometry and subdivision levels with an implementation.
Enumeration of valid types for SKAttribute values.
An enumeration whose values specify options for blending of visual SKNodes or particles.
An enumeration whose values specify the interpolation mode of a SKKeyframeSequence.
Enumerates the various ways a SKNode may be focusable.
Enumerates values used with ParticleRenderOrder.
An enumeration whose values specify whether the time value of a SKKeyframeSequence should cycle.
An enumeration whose values specify the way in which a SKScene scales to the view in which it is being displayed.
Enumerates how neighboring tiles may be automatically placed.
Enumerates how a SKTileDefinition kind may be rotated.
Enumerates supported tiling schemes.
An enumeration of directions for use with SKTransitions.
Contains values that describe the data with which an SKUniform was initialized.
Sprite Kit is a library that provides a high-performance animation and physics loop. It is well-suited for 2D game programming and is available on both iOS and OS X.
The animation loop:
- The SKScene calls Update.
- For each SKNode in its Children, executes the child node's SKActions.
- The SKScene calls DidEvaluateActions
- For each SKNode in its Children, executes the child node's physics
- The SKScene calls DidSimulatePhysics
The system restricts the animation loop to a maximum rate of 60Hz.
The visual aspect of the animation loop is determined by a scene-graph consisting of a hierarchy of SKNodes. The root of the scene-graph is a SKScene which itself is a
SKNodes can have an associated SKPhysicsBody. All of the SKPhysicsBodys in the PhysicsWorld of the SKScene are part of the physics loop.
The SKTileMapNode subclass of SKNode allows developers to easily create and manipulate tile-based maps with a variety of geometries and perspectives. An SKTileMapNode contains a SKTileSet that defines the overall map. In addition, the SKTileSet contains one or more SKTileGroup objects, each of which represents one style of tile, which may have several representations.
Send feedback about: