Swift 3 Game Development - Second Edition
By 作者: Stephen Haney
ISBN-10 书号: 1787127753
ISBN-13 书号: 9781787127753
Edition 版本: 2nd Revised edition
Release Finelybook 出版日期: 2017-02-06
Pages 页数: 258
Book Description to Finelybook sorting
Swift is the perfect choice for game development. Developers are intrigued by Swift 3.0 and want to make use of new features to develop their best games yet. Packed with best practices and easy-to-use examples, this book leads you step by step through the development of your first Swift game.
This book starts by introducing SpriteKit and Swift's new features that can be used for game development. After setting up your first Swift project, you will build your first custom class, learn how to draw and animate your game, and add physics simulations.
Then, you will add the player character, NPCs, and powerups. To make your game more fun and engaging, you will learn how to set up scenes and backgrounds, build fun menus, and integrate with Apple Game Center to add leaderboards and achievements. You will then make your game stand out by adding animations when game objects collide, and incorporate proven techniques such as the advanced particle system and graphics. Finally, you will explore the various options available to start down the path towards monetization and 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.
1: DESIGNING GAMES WITH SWIFT
2: SPRITES, CAMERA, ACTION!
3: MIX IN THE PHYSICS
4: ADDING CONTROLS
5: SPAWNING ENEMIES, COINS, AND POWER-UPS
6: GENERATING A NEVER-ENDING WORLD
7: IMPLEMENTING COLLISION EVENTS
8: POLISHING TO A SHINE - HUD, PARALLAX BACKGROUNDS, PARTICLES, AND MORE
9: ADDING MENUS AND SOUNDS
10: STANDING OUT IN THE CROWD WITH ADVANCED FEATURES
11: CHOOSING A MONETIZATION STRATEGY
12: INTEGRATING WITH GAME CENTER
13: SHIP IT! PREPARING FOR THE APP STORE AND PUBLICATION
What You Will Learn
Deliver powerful graphics, physics, and sound in your game by using SpriteKit
Set up the scene using the new capabilities of the scene editor and custom classes
Maximize gameplay with little-known tips and strategies for fun and repeatable action
Make use of animations, graphics, and particles to polish your game
Understand the current mobile monetization landscape to choose the best option for your own situation
Integrate your game with Game Center so that your players can share their high scores and achievements
Publish your game to the App Store and enjoy people playing your games
Stephen Haney has written two books on iOS game development. He began his programming journey at the age of 8 years on a dusty, ancient laptop using BASIC. He has been fascinated with building software and games ever since. Now well versed in multiple languages, he enjoys programming as a creative outlet the most. He believes that indie game development is an art form-- an amazing combination of visual, auditory, and psychological challenges--rewarding to both the player and the creator.
He enjoyed writing this book and sincerely hopes that it directly furthers your career or hobby.