Book Image

iPhone Game Blueprints

By : Igor Uduslivii
Book Image

iPhone Game Blueprints

By: Igor Uduslivii

Overview of this book

Designing and selling games on the iOS platform has become a phenomenon ever since the introduction of the App Store. With mobile gaming taking the World by storm, users are indulging in all different types of games. iPhone Game Blueprints is a hands on guide to both inspire and help developers, graphic designers, and game enthusiasts to create their own games for iOS devices. Taking a selection of iPhone game "styles" we will learn how to set the foundation and essential functionality for each game. Including thorough explanations of popular games such as puzzles, arcades, and adventures, as well as useful theoretical and technical concepts. iPhone Game Blueprints is your complete guide to creating great iPhone games, from a simple gesture game to a classic shoot 'em up. iPhone Game Blueprints guides you through the universe of mobile games, starting with the overall information about game ideas, ergonomic aspects, and much more. Then it switches to a description of each particular game type, presenting ready-to-use ideas and applications. This book will take you through a selection of iPhone game styles and show how to create the foundation and essential functionality for a game of that genre.The examples in this book are only the beginning. Including a deluge of practical tips, focusing on the best approach to game design, not forgetting to mention the pitfalls. iPhone Game Blueprints will give you the blueprints of several mobile game's essentials cores. Whether you're just getting started with gaming, or want to try a whole different genre of game, these blueprints are everything you need.
Table of Contents (16 chapters)
iPhone Game Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Understanding normal mapping


There is an interesting opportunity to add some extra details to your 3D model without adding any excess tris to its geometry. A regular object is wrapped by a special texture that stores some relief information. It is like putting on a dress made of cloth with bulging patterns. That is a very smart technical solution. A bitmap document keeps information about the heights of a specific region of an object. The data can be transferred and compressed as regular raster graphics. There is no need of special file formats. Such a method is known as bump mapping because various elements of 3D relief, called bumps for the sake of simplicity, are projected onto a flat image turning into a map.

Classical bump maps are grayscale maps where heights are coded by a pixel's brightness. A 3D engine wraps such a texture on an object but does not display it in a straight form. It only uses it for simulation of extra geometry (generating both concave and convex elements). All graphic...