没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Learn iPhone and iPad game apps
development using iOS 6 SDK
Beginning
iOS 6 Games
Development
Lucas Jordan
ClayWare
Games
tm
For your convenience Apress has placed some of the front
matter material after the index. Please use the Bookmarks
and Contents at a Glance links to access them.
v
Contents at a Glance
About the Author ���������������������������������������������������������������������������������������������������������������� xv
About the Technical Reviewer ������������������������������������������������������������������������������������������ xvii
Acknowledgments ������������������������������������������������������������������������������������������������������������� xix
Chapter 1: A Simple First Game ■ �����������������������������������������������������������������������������������������1
Chapter 2: Setting up Your Game Project ■ ������������������������������������������������������������������������11
Chapter 3: Explore the Game Application Life Cycle ■ ��������������������������������������������������������37
Chapter 4: Quickly Build an Input-Driven Game ■ ��������������������������������������������������������������67
Chapter 5: Quickly Build a Frame-by-Frame Game ■ ���������������������������������������������������������97
Chapter 6: Create Your Characters: Game Engine, Image Actors, and Behaviors ■ �����������131
Chapter 7: Build Your Game: Vector Actors and Particles ■ ���������������������������������������������159
Chapter 8: Building Your Game: Understanding Gestures and Movements ■ �������������������185
Chapter 9: Game Center and Social Media ■ ��������������������������������������������������������������������221
Chapter 10: Monetizing via the Apple App Store ■ �����������������������������������������������������������243
Chapter 11: Add Sound to Your Game ■ ����������������������������������������������������������������������������259
vi Contents at a Glance
Chapter 12: A Completed Game: Belt Commander ■ ��������������������������������������������������������273
Chapter 13: Physics! ■ �����������������������������������������������������������������������������������������������������305
Appendix A: Designing and Creating Graphics ■ ��������������������������������������������������������������321
Index ���������������������������������������������������������������������������������������������������������������������������������341
1
Chapter 1
A Simple First Game
In this book you are going to learn a lot about working with iOS. The goal, of course, is to be able to
build a game that runs on iOS. To do that, you must learn about a lot of different elements that a full
game will incorporate, such as basic UI widgets, audio, complex touch input, Game Center, in-app
purchases, and of course graphics. This book will explore these concepts and many others. Think
of it as a guide to the building blocks that you will need to make a compelling game that is specific
to iOS and Apple’s mobile devices. All iOS applications have one thing in common—the application
Xcode—so it makes sense to start with that.
In this first chapter, we are going to build a very simple game of Rock, Paper, Scissors. We will
use the Storyboard feature of Xcode to create an application with two views and the navigation
between them.
Included with this book are sample Xcode projects; all of the code examples are taken directly from
these projects. In this way, you can follow along with each one in Xcode. I used version 4.5 of Xcode
when creating the projects for this book. The project that accompanies this chapter is called Sample 1;
you can easily build it for yourself by following the steps outlined in this chapter.
The project is a very simple game in which we use Storyboard to create two scenes. The first
scene is the starting view, and the second scene is where the user can play the Rock, Paper,
Scissors game. The second scene is where you will add a UIView and specify the class as
RockPaperScissorView. The source code for the class RockPaperScissorView can be found in the
project Sample 1.
We will walk through each of these steps, but first let’s take a quick look at our game, shown in
Figure 1-1.
剩余350页未读,继续阅读
资源评论
- zolok82016-06-15挺不错的 ,推荐一下, 可以了解许多基本的游戏实现原理 。
- kinddevilwyc2013-09-29例子很多,不错
- computerwelcome2013-06-05经典教程,值得收藏
- coidx2013-07-16值得收藏的一本书
- chongliangzhang0012013-11-24经典教程,欢迎下载,呵呵
joying1
- 粉丝: 0
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- delphi实现DBGrid全选和反选功能
- 25C11F41-2B2A-4D1A-AAA8-7C654526B129.pdf
- Android Studio Jellyfish(android-studio-2023.3.1.18-cros.deb)
- MVC+EF框架+EasyUI实现权限管理源码程序
- python第66-75天,Day66-75.rar
- python后端服务project-of-tornado.rar
- python测验,hello-tornado.rar
- 基于SpringBoot+Vue3快速开发平台、自研工作流引擎源码设计.zip
- docker安装部署全流程
- 基于树莓派的人脸识别系统python源码+项目部署说明+超详细代码注释.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功