Описание
Hi, this is Sprite GetCode! Starting Package.
It is a helper for coding simple games with Swift and Spritekit
Main topics:
Scene and Nodes
Physics and physics world
Methods & actions
Effects
Bonus sample: a space game
There are many of code snippets and samples here, ready to download and ready to use, answering the following questions:
How to set the SKScene programmatically?
What is a SKSpriteNode?
How to set a SKLabelNode or a SKShapeNode?
How to set a simple button in SpriteKit?
What is zPosition or zRotation?
How to scale a sprite node?
How to set a physics world with gravity and edges?
How to set physics bodies with different sizes?
What is a SKPhysicsJoint?
How to apply impulse to a physics body?
…and many, many others!
Toy with these code samples. Use them in your apps. Have fun! Be creative! Or just copy-paste them.
More than 50% of samples or code snippets are free of charge.