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 dialogs to the screen


Now that we have added the abort button on the screen, we might run into a few problems, which are as follows:

  • We might tap on the abort button by accident

  • We don't have any way to get from the pirate cove scene back to the battlefield scene

So, to counteract this, at least on the surface, let's add a dialog which should be shown when we tap the abort button.