更新时间:2021-07-16 13:45:56
封面
版权信息
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Chapter 1. Designing Games with Swift
Why you will love Swift
Are there any downsides to Swift?
Prerequisites
What you will learn in this book
Further research
Setting up your development environment
Creating our first Swift game
Summary
Chapter 2. Sprites Camera Actions!
Sharpening our pencils
Checkpoint 2- A
Drawing your first sprite
The story on positioning
Adding textures and game art
Organizing your assets
Putting it all together
Centering the camera on a sprite
Checkpoint 2-B
Chapter 3. Mix in the Physics
Laying the foundation
Exploring the physics system
Checkpoint 3-A
Exploring physics simulation mechanics
Bee meets bee
Checkpoint 3-B
Chapter 4. Adding Controls
Retrofitting the Player class for flight
Polling for device movement with Core Motion
Checkpoint 4-A
Wiring up the sprite onTap events
Teaching our penguin to fly
Improving the camera
Pushing Pierre forward
Checkpoint 4-B
Chapter 5. Spawning Enemies Coins and Power-ups
Introducing the cast
Organizing the project navigator
Testing the new game objects
Checkpoint 5-A
Chapter 6. Generating a Never-Ending World
Designing levels with the SpriteKit scene editor
Encounters in endless flying
Integrating scenes into the game
Checkpoint 6-A
Spawning endless encounters
Spawning the star power-up at random
Checkpoint 6-B
Chapter 7. Implementing Collision Events
Learning the SpriteKit collision vocabulary
Adding contact events to our game
Checkpoint 7-A
Player health and damage
Collecting coins
The power-up star logic
Checkpoint 7-B
Chapter 8. Polishing to a Shine – HUD Parallax Backgrounds Particles and More
Adding a heads-up display
Parallax background layers
Checkpoint 8-A
Harnessing SpriteKit's particle system
Granting safety as the game starts
Checkpoint 8-B
Chapter 9. Adding Menus and Sounds
Building the main menu
Adding the restart game menu
Checkpoint 9-A
Adding music and sound
Checkpoint 9-B
Chapter 10. Integrating with Game Center
Registering an app with iTunes Connect
Authenticating the player's Game Center account
Opening Game Center in our game
Checkpoint 10-A
Adding a leaderboard of high scores
Adding an achievement
Checkpoint 10-B
Chapter 11. Ship It! Preparing for the App Store and Publication
Finalizing assets
Finalizing iTunes Connect information
Uploading our project from Xcode
Submitting for review in iTunes Connect
Index