iphone game development

258 373 0
iphone game development

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... 4, 2D Game Engine, creates a complete four-level game based on the framework in Chapter 3 We start with 2D because both the game tasks and the coding complexity are much easier in 2D than in 3D Basic movement, visual and audio effects, movement through game levels, and other elements of game programming are covered Chapter 5, 3D Games, explains the more sophisticated tasks required to write a 3D game. .. shares, but you should be interested in the viability of the iPhone as a whole If no one owns an iPhone, no one will buy the games you make for it The good news is that even in the face of the 2009 economic downturn, iPhones continued to sell To get started with the iPhone, you’ll need to get a free Apple developer account Next you’ll download the iPhone SDK on your Mac, which also contains the Xcode IDE... Introduction to the iPhone, gets you set up to build interfaces and write code in Objective-C, including logistics such as setting up a developer account with Apple Chapter 2, Game Engine Anatomy, introduces the elements of game logic and good design that will let you write a maintainable and enjoyable game application Chapter 3, The Framework, shows the code that will wrap your particular game implementation... what’s inside Although you can’t do this on the iPhone, you can find iPhone applications in the iPhone Simulator If you have the iPhone SDK installed, you can use Spotlight to search for the MobileSafari.app file Show this file in the Finder (don’t try to run it on your Mac), and view its package contents (some of which appears in the following list) A typical iPhone application bundle might have the following... Reynolds, for game art Thanks to Brad O’Hearne, Jonathan Hohle, and Trina Gregory for technical reviews of this book And thanks to all of the readers who left comments on Rough Cuts Paul would also like to thank his family, Amanda Joy and William “Nizor” Eiten Preface | xi Download at WoweBook.Com Download at WoweBook.Com CHAPTER 1 Introduction to the iPhone The iPhone is one of the most distinctive game platforms... book into your product’s documentation does require permission We appreciate, but do not require, attribution An attribution usually includes the title, author, publisher, and ISBN For example: iPhone Game Development by Paul Zirkle and Joe Hogue Copyright 2010 Paul Zirkle and Joe Hogue, 978-0-596-15985-6.” If you feel your use of code examples falls outside fair use or the permission given here, feel... for Windows or any other non-Mac platform.) And because the iPhone API requires you to write in Objective-C, you will need to read a primer on the language if you do not already understand it This chapter takes you step by step through all of these tasks Apple Developer Account and Downloading the SDK The first step in setting up your iPhone development environment is to register an Apple developer account... http://developer.apple.com /iphone/ program/apply.html 2 You will have two options: Standard Program and Enterprise Program If you are writing games for the general public, you probably do not want the Enterprise Program If you read closely, you will notice the Enterprise Program is actually for creating applications that only you and your company will use internally If you plan to create games that will be... most distinctive game platforms currently available The touch screen, integration with iTunes, programming in Objective-C, low development cost, and ease of publishing all make for a very strange but promising new development opportunity As the newest kid on the block, the iPhone instantly captured a noticeable portion of the mobile phone market and inspired a wave of copycat devices by makers such... way iPhone development works, you pretty much have to Fortunately, once you get used to it, you’ll see that Xcode is pretty good at what it does It has all the features you would expect from an industry-standard IDE: it jumps to the line of compile errors, auto-completes complicated API methods, and has integrated SDK references And it gets better: Xcode supports on-device debugging, a full-featured iPhone . Download at WoweBook.Com iPhone Game Development Paul Zirkle and Joe Hogue Beijing • Cambridge • Farnham • Köln • Sebastopol • Taipei • Tokyo Download at WoweBook.Com iPhone Game Development by Paul. an iPhone or iPod Touch. Although we use the term iPhone throughout the book, games made for the iPhone will also work on iPod Touch. Some people will undoubtedly try to create an iPhone game. will learn enough Objective-C to utilize the iPhone SDK to make a 2D game. You will have been introduced to OpenGL ES on the iPhone for making 3D games. And finally, you will be familiar with

Ngày đăng: 24/04/2014, 15:22

Từ khóa liên quan

Mục lục

  • Table of Contents

  • Preface

    • The Authors

    • Our Goal

    • Prerequisites

    • Audience

    • Organization of This Book

    • Conventions Used in This Book

    • Using Code Examples

    • We’d Like to Hear from You

    • Safari® Books Online

    • Acknowledgments

    • Chapter 1. Introduction to the iPhone

      • Apple Developer Account and Downloading the SDK

        • Application Bundles

        • Xcode and Interface Builder

        • Views and Controllers

          • Adding a new View and View Controller to an existing window

          • Adding a new View to an existing View Controller

          • Proxy objects

          • Loading Devices

            • Certificates and Profiles

              • App ID

              • UDID

              • WWDR certificate

              • Installing the profile

Tài liệu cùng người dùng

Tài liệu liên quan