Skip to main content
  • Book
  • © 2015

Swift Game Programming for Absolute Beginners

Apress

Authors:

  • Swift Game Programming for Absolute Beginners teaches Apple’s Swift language in the context of four, fun and colorful games.

  • Learn the Swift 2.0 language, and learn to create game apps for i. OS at the same time – a double win!

  • 44k Accesses

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (27 chapters)

  1. Front Matter

    Pages i-xxvi
  2. Getting Started

    1. Front Matter

      Pages 1-1
    2. The Swift Language

      • Arjan Egges
      Pages 3-15
    3. Game Programming Basics

      • Arjan Egges
      Pages 17-27
    4. Creating a Game World

      • Arjan Egges
      Pages 29-40
    5. Game Assets

      • Arjan Egges
      Pages 41-53
  3. Painter

    1. Front Matter

      Pages 55-55
    2. Reacting to Player Input

      • Arjan Egges
      Pages 57-72
    3. A Flying Ball

      • Arjan Egges
      Pages 73-91
    4. Game Object Types

      • Arjan Egges
      Pages 93-109
    5. Colors and Collisions

      • Arjan Egges
      Pages 111-122
    6. Limited Lives

      • Arjan Egges
      Pages 123-137
    7. Organizing Game Objects

      • Arjan Egges
      Pages 139-153
    8. Finishing the Painter Game

      • Arjan Egges
      Pages 155-163
  4. Tut’s Tomb

    1. Front Matter

      Pages 165-165
    2. Advanced Input Handling

      • Arjan Egges
      Pages 167-181
    3. Game Physics

      • Arjan Egges
      Pages 183-190
    4. Gameplay Programming

      • Arjan Egges
      Pages 191-201
    5. Game States

      • Arjan Egges
      Pages 203-211
    6. Finishing the Tut’s Tomb Game

      • Arjan Egges
      Pages 213-222

About this book

"Concepts of game programming are explained well, and no prior knowledge of Swift language programming is required. ...  The images and audio provided are professional and clean." William Fahle, Computing Review, May 31, 2016

Swift Game Programming for Absolute Beginners teaches Apple’s Swift language in the context of four, fun and colorful games. Learn the Swift 2.0 language, and learn to create game apps for iOS at the same time – a double win!

The four games you’ll develop while reading this book are:

  • Painter
  • Tut’s Tomb
  • Penguin Pairs
  • Tick Tick
These four games are casual, arcade-style games representing the aim-and-shoot, casual, puzzle, and platform styles of game play. Professionally developed game assets form part of the book download. You’ll get professionally drawn sprites and imagery that’ll have you proud to show your learning to friends and family.

The approach in Swift Game Programming for Absolute Beginners follows the structure of a game rather than the syntax of a language. You’ll learn to create game worlds, manage game objects and game states, define levels for players to pass through, implement animations based upon realistic physics, and much more. Along the way you’ll learn the language, but always in the context of fun and games.

Swift is Apple’s new programming language introduced in 2014 to replace Objective-C as the main programming language for iOS devices and Mac OS X. Swift is a must learn language for anyone targeting Apple devices, and Swift Game Programming for Absolute Beginners provides the most fun you’ll ever have in stepping over the threshold toward eventual mastery of the language.

About the author

Arjan Egges is an associate professor in Computer Science at Utrecht University in the Netherlands. He is responsible there for research in the area of computer animation, and he heads the university s motion capture lab in the animation department. Arjan has written over 30 research papers on animation. He is the founder of the highly successful, annual ACM SIGGRAPH conference on Motion in Games, of which the proceedings have been published by Springer-Verlag. Arjan is responsible for having designed Utrecht University s computer animation course offerings in the Game and Media Technology master s program, and he is currently the leader of that master s program. In 2011 he designed the introductory programming course for the university s bachelor s degree offering in Game Technology. He is coauthor of the book Learn C# by Programming Games, published in 2013 by Springer.

Bibliographic Information

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access