SpriteKit is a 2D Game Engine developed by Apple. It provides high level APIs and a wide range of functionalities to developers. It also contains an internal Physics Engine.
It is available on every Apple platform
Note: If you wish to develop using 3D graphics you need to use SceneKit instead.
The core building blocks of SpriteKit are:
Other related building blocks are:
iOS 7.0 and Later
OS X 10.9 Mavericks and Later
watchOS 3.0 and Later
tvOS 9.0 and later
Open Xcode and select Create a new Xcode Project
.
Now select iOS > Application
on the left and Game
on the main selection area.
Press Next.
Product Name
the name of your first great game.Organization Name
the name of your company (or simply your own name).Organisation Identifier
should contain your reversed domain name (www.yourdomain.com
becomes com.yourdomain
). If you don't have a domain write anything you want (this is just and test).Swift
, SpriteKit
and iPhone
.Press Next.
Select a folder of your Mac where you want to save the project and click on Create.
Congrats, you create your first Game with SpriteKit! Just press CMD
+ R
to run it into the simulator!