Book Image

Sparrow iOS Game Framework Beginner's Guide

By : Johannes Stein
Book Image

Sparrow iOS Game Framework Beginner's Guide

By: Johannes Stein

Overview of this book

Table of Contents (20 chapters)
Sparrow iOS Game Framework Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Afterword
Index

Adding progression to our game


Now that our AI is implemented, let's add some progression to our game. We will need to add levels. Each level should have one more enemy ship, and we can upgrade the damage and hit points of our ship in between the levels.

Adding a World class

We need to keep some values, such as the current level, in a separate entity, which we will describe as a World class.