更新时间:2021-07-16 20:32:13
coverpage
iOS Game Development By Example
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. An Introduction to Sprite Kit
What's new in iOS 8?
Getting to know Swift
Getting to know Sprite Kit
Advantages of Sprite Kit
Elements of Sprite Kit
Features of Sprite Kit
Setting up a project
Result
Summary
Chapter 2. Scenes in Sprite Kit
Device orientation in Sprite Kit
Orientation in our project
Revisiting project elements
Adjusting the project
What is a scene?
Coordinate system
Creating a scene
Creating a node tree
Drawing order for a node tree
Adding the first scene in our game
Adding another scene to our game
A transition from one scene to another
Setting animation play during transition
Creating transition objects
Adding transition in our game
Chapter 3. Sprites
SKSpriteNode
The properties of SKSpriteNode
Adding a sprite without using textures
Working with texture objects
Preloading textures into memory
Chapter 4. Nodes in Sprite Kit
All you need to know about nodes
Creating subclasses for our Platformer game
Chapter 5. Physics in Sprite Kit
Simulating physics in Sprite Kit
SKPhysicsBody
Chapter 6. Animating Sprites Controls and SceneKit
Animating nodes
Creating actions
Adding controls in Sprite Kit
An introduction to SceneKit
Adding animations and controls in our Platformer game
Chapter 7. Particle Effects and Shaders
Particle effects
The SKEmitter node
Creating the particle effect
Shaders
Chapter 8. Handling Multiple Scenes and Levels
Optimizing game levels
Adding levels in our Platformer game
Adding the pause functionality
Adding the NODE MENU button
Chapter 9. Performance Enhancement and Extras
Performance enhancement
Measuring performance with instruments
A scoring system in a game
Adding sound into a game
Animation frames using SKTexture
Chapter 10. Revisiting Our Game and More on iOS 9
A recap on the development process of our Platformer game
Working further on the Platformer game
An introduction to Game Center
What's new in iOS 9
Index