Book Image

Sparrow iOS Game Framework Beginner's Guide

By : Stein
Book Image

Sparrow iOS Game Framework Beginner's Guide

By: Stein

Overview of this book

An easy-to-follow guide full of descriptive step-by-step procedures on how to develop a game for iOS. With each topic, a new challenge will be tackled to get a deeper knowledge of the Sparrow game framework and gain the skills to develop a complete mobile experience. This book is aimed at those who have always wanted to create their own games for iOS devices. Perhaps you've already dabbled in game development and want to know how to develop games for the Apple App Store, or maybe you have developed Objective-C apps in the past but you are new to game development. In either case, this book will help with descriptive examples and teach you to develop a game throughout its course. Some experience in Objective-C and a basic understanding of object-oriented programming are required.
Table of Contents (15 chapters)
13
Afterword
14
Index

Time for action – using bmGlyph to create a bitmap font


To create our first bitmap font, we just need to follow these steps:

  1. Open bmGlyph.

  2. Select Arial Rounded MT Bold as the font.

  3. Set Font size to 72 points.

  4. Scroll down to the Color Tools section and check Shadow.

  5. In the Shadow pane, set the x property to 2, the y property to -2, and the radius to 8.

  6. In the Fill Mode section, select a brown-yellowish color and select the Glossy checkbox.

  7. Hit the Publish button.

  8. In the Default target, enter PirateFont as the File Name and font name (Force Font Name). In the Suffix input box, add @4x.

  9. Click on the 50 button inside the Duplicate with scale box and add the suffix @2x.

  10. Click on the 25 button.

  11. Select Sparrow in the Format drop-down list.

  12. Make sure that PirateFont is displayed in all of the targets as the File Name and in Force Font Name.

  13. Hit Publish and then the Close button.

    After these steps, we should see the following screen:

What just happened?

After we opened bmGlyph, we set the base font, size, color...