0%

Book Description

In this book we dive into the core of Swift and show readers how expressive and fun the Swift language is. Along the way you will learn how to create a 2D casual Pencil Adventure game that will help you learn the aspects of the Swift language (take a look at the source code: https://github.com/jocelynlih/SwiftGameBook). By the end, you will not only be comfortable with the Swift programming language, but you will be familiar working with Cocoa API's, having the tools and understanding necessary to tackle applications of any nature or size.

Table of Contents

  1. Preface
    1. Welcome to Pencil Adventure
    2. What is Swift?
    3. Getting Started with Swift
      1. Creating a Playground
    4. Where To Get The Code
    5. About the Authors
    6. Acknowledgements
    7. Resources
  2. 1. Introduction to Swift
    1. Swift is cool
    2. Why develop games in Swift?
  3. 2. Game development process
    1. Reward systems and gamification
  4. 3. Introduction to Sprite Kit
    1. Let’s dig in!
    2. Initial view controller
  5. 4. Platform games
    1. The building blocks
    2. Physics world
    3. Physics body
    4. Tap to jump
  6. 5. Adding more platform features
    1. Power up and platform features
    2. Scrolling
    3. Collisions and contacts
    4. Game end
  7. 6. Level select scene
    1. Creating the scene
    2. Load progress indicator
    3. Summary
  8. 7. Creating levels
    1. Level editor
    2. Physics definition
    3. Parallax effect
    4. Summary 
  9. 8. Adding our hero life line
    1. Creating a life line
    2. Integrating into the Pencil Adventure project
    3. Summary
  10. 9. Saving scores
  11. 10. Adding sound effects
    1. Adding background music
    2. Adding sound effects
  12. 11. Adding visual effects
    1. Adding particle effects
  13. 12. Advanced game topics
    1. Managing art assets
    2. Advanced visual effects: Sketch rendering
    3. Scale and aspect in a universal app
    4. Improving game performance
  14. 13. Publishing the app
  15. 14. Next steps
    1. Change existing levels
    2. New levels
    3. Restart level button
    4. Dr. Evil
    5. Farewell
18.222.196.175