Embrace the mobile gaming revolution and bring your iPhone game ideas to life with Swift
Apple's new programming language, Swift, is fast, safe, accessible—the perfect choice for game development! Packed with best practices and easy-to-use examples, this book leads you step by step through the development of your first Swift game.
The book starts by introducing Swift's best features for game development. Then, you will learn how to animate sprites and textures. Along the way, you will master the physics framework, add the player character and NPCs, and implement controls. Towards the end of the book, you will polish your game with fun menus, integrate with Apple Game Center for leaderboards and achievements, and then finally, learn how to publish your finished games to the App Store. By the end of this book, you will be able to create your own iOS games using Swift and SpriteKit.
What You Will Learn
Deliver powerful graphics, physics, and sound in your game by using SpriteKit
Explore drawing and animation techniques for fun and quick results
Read and react to various forms of player input including physical device tilt and touch recognition
Master Apple's IDE, Xcode, and the accompanying toolset
Polish your menus and HUD to make your game stand out
Integrate your game with Game Center so that your players can share their high scores and achievements
Maximize gameplay with little-known tips and strategies for fun and repeatable action
Publish your hard work to the App Store and enjoy as people play your games
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.