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
About the Author
About the Reviewers

Contents of the Sparrow package

After the download has finished, extract the file to a location of your choice. We can use the unpacker that is included in Mac OS X by default, but any third-party unpacker should work as well. Let's take a look at the following screenshot to see what the Sparrow package has to offer:

The samples folder

The samples folder consists of three subfolders, and they are as follows:

  • barebone: This is a bare minimum project and a good start for creating your own games and will serve as the template for our game as well

  • demo: This is a sample application showcasing many of the features found within Sparrow

  • scaffold: The scaffold template provides some base classes and more boilerplate code than the barebone example

The sparrow folder

The sparrow folder has three subfolders, and they are as follows:

  • doc: This has a script to generate the documentation

  • src: This is the entire source of the Sparrow framework itself

  • util: This has different command-line tools which will help our workflow when dealing with graphic assets

Markdown files in the root folder

Markdown files are, in essence, text files that can be rendered into HTML files. They are as follows:

  • This gives a quick start on how to use the library

  • This gives a detailed list of items on what exactly changed between the versions

  • This is the license Sparrow uses

  • This is a short introduction into what Sparrow is


Sparrow is a free and open source software, which means its source can be viewed and modified by anyone.

Like many other pieces of software in the Mac/iOS universe, Sparrow is licensed under an unmodified two-clause Simplified BSD license, which allows us to use Sparrow as long as the copyright notice, the list of conditions, and the disclaimer is distributed with the source or the application.


What does this mean if we were to modify the source code?

The modified source code must have the same file and the contents of this file are not allowed to change.

What does this mean if we were to develop a game with Sparrow and distribute the game on the Apple App Store?

The game needs to have the contents of present in the game itself. Having the contents of the file in the options or credits screen is a valid solution.