<p>Unity is an incredibly powerful and popular game creation tool, and Unity 4 brings even more great features, including Mechanim animation. <em>Learn Unity 4 for iOS Game Development</em> will show you how to use Unity with Xcode to create fun, imaginative 3D games for iPhone, iPad, and iPod touch
Learn Unity 4 for IOS Game Development
β Scribed by Chu, Philip
- Publisher
- Apress
- Year
- 2013
- Tongue
- English
- Leaves
- 543
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
Unity is an incredibly powerful and popular game creation tool, and Unity 4 brings even more great features, including Mechanim animation.Learn Unity 4 for iOS Game Developmentwill show you how to use Unity with Xcode to create fun, imaginative 3D games for iPhone, iPad, and iPod touch. You'll learn how to optimize your game for both speed and quality, how to test and profile your game, and how to get the most out of your iOS device features, including the gyroscope and accelerometer. You'll also learn how to incorporate the latest Game Center improvements in iOS 6 into your game, how to make sure your game gets into the App Store, and even how to promote your app and track revenue.
If you have a great 3D game idea, and you want to make it a reality in the App Store, thenLearn Unity 4 for iOS Game Developmenthas exactly what you need.
β¦ Table of Contents
Learn Unity 4 for iOS Game Development......Page 524
Contents at a Glance......Page 3
Contents......Page 527
About the Author......Page 541
About the Technical Reviewer......Page 542
Acknowledgments......Page 543
Introduction......Page 5
Prerequisites......Page 8
Download Unity......Page 9
Install Unity......Page 10
Run the Installer......Page 11
Activate a License......Page 13
Welcome to Unity!......Page 15
Change Skins (Pro)......Page 16
Update the License......Page 19
Report Problems......Page 20
Explore Further......Page 23
Unity Manuals and References......Page 24
The Unity Community......Page 25
Bring out the Angry Bots......Page 26
Open the Angry Bots Project......Page 27
Open the Angry Bots Scene......Page 28
Play Angry Bots......Page 31
Build Angry Bots......Page 32
The Editor Layout......Page 36
Preset Layouts......Page 38
Move Views......Page 41
Detach Views......Page 42
Add and Remove Views......Page 43
The Inspector View......Page 45
The Project View......Page 49
Scale Icons......Page 50
Inspect Assets......Page 51
Search for Assets......Page 52
Operate on Assets......Page 54
Inspect Game Objects......Page 55
The Scene View......Page 56
Navigate the Scene......Page 57
Scene View Options......Page 60
Scene View Gizmos......Page 61
Maximize on Play......Page 62
Stats......Page 63
The Console View......Page 64
Unity Manual......Page 66
Version Control......Page 67
Create a New Project......Page 68
Anatomy of a Camera......Page 72
The Camera Component......Page 74
Projection......Page 75
Viewport......Page 76
GUILayer Component......Page 77
Make the Cube......Page 78
Frame the Cube......Page 79
Move the Cube......Page 80
BoxCollider Component......Page 81
Camera Control......Page 83
Import the Script......Page 84
Attach the Script......Page 87
Add a Light......Page 90
Anatomy of a Light......Page 91
Culling Mask......Page 92
Adjust the Light......Page 93
Make a Halo......Page 95
Import the Skybox......Page 97
Anatomy of a Skybox......Page 99
Apply the Skybox......Page 100
Add a Flare......Page 101
Import Flares......Page 102
Apply the Flare......Page 104
Import a Texture......Page 105
Shop the Asset Store......Page 109
Import the Texture......Page 113
Apply the Texture......Page 114
Unity Manual......Page 116
Reference Manual......Page 117
Computer Graphics......Page 118
Organize the Assets......Page 119
Create the Script......Page 120
Anatomy of a Script......Page 122
Attach the Script......Page 124
Edit the Script......Page 126
Understand the Script......Page 128
Read the Scripting Reference......Page 129
Run the Script......Page 132
Runtime Errors......Page 133
Debug with MonoDevelop......Page 134
Rotate the Transform......Page 140
Rotate in World Space......Page 143
Tween Rotation......Page 144
Making Prefabs......Page 147
Breaking Prefabs......Page 150
Unity Manual......Page 151
Scripting......Page 152
Chapter 5: Letβs Dance! Animation and Sound......Page 154
Import the Skeletons Pack......Page 155
Add a Skeleton......Page 157
Orbit the Skeleton......Page 158
Make the Skeleton Dance......Page 160
Make the Skeleton Dance Forever......Page 162
Watch the Hips......Page 164
Add a Dance Floor......Page 165
Add a Shadow (Pro)......Page 169
Add Music......Page 175
Explore Further......Page 178
Computer Graphics......Page 179
Make a New Scene......Page 180
Delete GameObjects......Page 182
Adjust the Light......Page 183
Retile the Floor......Page 184
Reset the Camera......Page 188
Make a Sphere......Page 190
Make It Fall......Page 193
Customize Collision......Page 197
Standard PhysicMaterials......Page 198
Anatomy of a PhysicMaterial......Page 200
Apply the PhysicMaterial......Page 201
Make a New PhysicMaterial......Page 202
Make It Roll......Page 204
Update: Gather Input......Page 205
FixedUpdate: Use the Force......Page 207
Is It Rolling?......Page 209
Limit the Speed......Page 211
The Complete Script......Page 212
Be the Ball......Page 213
Reference Manual......Page 215
On the Web......Page 216
Lengthen the Lane......Page 217
Make Some Pins......Page 218
Create the Script......Page 220
Instantiate Pins......Page 221
Awake......Page 222
Create the GameObject......Page 223
Make It Resettable......Page 228
Send a Message......Page 231
Check for Gutter Ball......Page 232
The Complete Listing......Page 233
Bowling for Barrels......Page 234
Pick a Barrel......Page 235
Make a Prefab......Page 236
Use the Prefab......Page 237
Add a Collider......Page 238
Add a Compound Collider......Page 239
Update the Prefab......Page 245
A Complex Collider (HyperBowl)......Page 246
Get Sounds......Page 247
Add a Rolling Sound......Page 248
Add a Pin Collision Sound......Page 253
Scripting Reference......Page 256
Assets......Page 257
The Game Rules......Page 258
The Frame Score......Page 259
The Player Score......Page 260
Setting the Score......Page 262
Getting the Score......Page 264
Creating a FuguBowlPlayer......Page 266
The Pin Status......Page 267
The Game Logic......Page 271
Design the FSM......Page 272
Starting the State Machine......Page 273
StateNewGame......Page 275
StateBall3......Page 276
StateRolling......Page 277
StateRolledPast......Page 278
StateGutterBall......Page 280
StateSpare, StateStrike, and StateKnockedSomeDown......Page 281
StateNextBall......Page 282
Unity Manual......Page 283
On the Web......Page 284
The Scoreboard......Page 285
Create the Script......Page 286
Style the GUI......Page 289
Create the Script......Page 291
Track the Current Menu Page......Page 292
Pause the Game......Page 293
Check Time.DeltaTime......Page 294
Automatic Layout......Page 295
The Main Page......Page 296
The Credits Page......Page 297
The Options Page......Page 299
The Audio Panel......Page 300
The Graphics Panel......Page 301
The System Panel......Page 302
Customize the GUI Color......Page 303
Customize the Skin......Page 305
Reference Manual......Page 308
Asset Store......Page 309
Chapter 10: Using Unity iOS......Page 310
Bring Back the Angry Bots......Page 312
Test with the Unity Remote......Page 318
Install Xcode......Page 321
Customize the Player Settings......Page 322
Resolution and Presentation......Page 324
Other Settings......Page 326
Test with the iOS Simulator......Page 329
Unity Manual......Page 336
iOS Developer Library......Page 337
Chapter 11: Building for Real: Device Testing and App Submission......Page 338
The Provisioning Portal......Page 339
Register Test Devices......Page 340
Register App Identifiers......Page 341
The Xcode Organizer......Page 342
Build and Run......Page 346
Create an Icon......Page 351
Take Screenshots......Page 352
Add an App on iTunes Connect......Page 354
Select App Type......Page 355
Availability and Price......Page 356
Version, Category, and Copyright......Page 357
Rate the App......Page 358
Upload the Icon and Screenshots......Page 359
Prepare for Upload......Page 360
Submit the App......Page 363
Update the App......Page 369
Track Sales......Page 370
Issue Promo Codes......Page 371
Explore Further......Page 372
Apple Developer Site......Page 373
Chapter 12: Presentation: Screens and Icons......Page 374
Bowling for iOS......Page 375
Scale the GUI......Page 378
Scale the Scoreboard......Page 379
Scale the Pause Menu......Page 380
Set the Icon......Page 382
Set the Splash Screen (Pro)......Page 386
Create the Splash Scene......Page 389
Create the Splash Screen......Page 390
Load the Next Scene......Page 393
Display the Activity Indicator......Page 395
Script the Activity Indicator......Page 397
Explore Further......Page 399
Scripting Reference......Page 400
Books......Page 401
Swipe the Ball......Page 402
Tap the Ball......Page 405
Debug the Accelerometer......Page 409
Detect Shakes......Page 410
Reading the WebCam......Page 412
Explore Further......Page 413
iOS Developer Library......Page 414
Asset Store......Page 415
Set Up Game Center on iTunes Connect......Page 418
Add a Leaderboard......Page 419
Create a Single Leaderboard......Page 420
Add a Language......Page 421
Set Up Achievements......Page 424
Integrating Game Center......Page 427
Initialize Game Center......Page 428
Submit Scores......Page 429
Attach the Script......Page 430
Submit the Score......Page 431
Test the Game......Page 432
Show Game Center In-Game......Page 434
iOS Developer Library......Page 438
Asset Store......Page 439
iTunes Connect......Page 440
Enable iAd......Page 441
Create the Script......Page 442
Garbage Collection......Page 444
Test the Script......Page 445
Add an Interstitial Ad......Page 446
Attach the Script......Page 448
Test the Script......Page 449
Track Ad Revenues......Page 450
Asset Store......Page 451
Outside the Asset Store......Page 452
Frame Rate......Page 453
Attach the Script......Page 454
Game View Stats......Page 455
The Build Log......Page 456
Run the Built-In Profiler......Page 458
Run the Editor Profiler (Pro)......Page 460
Manually Connect the Profiler......Page 463
Add a Frame Rate Display......Page 464
Quality Settings......Page 468
Physics Manager......Page 470
Audio Manager......Page 471
Player Settings......Page 472
Script Call Optimization......Page 474
Camera......Page 475
Lights......Page 477
Pins......Page 478
Floor......Page 479
Ball......Page 480
Optimize Assets......Page 482
Textures......Page 483
Audio......Page 486
Meshes......Page 488
Cache GetComponent......Page 489
UnityGUI......Page 490
Share Materials......Page 491
Beast......Page 493
Final Profile......Page 495
Reference Manual......Page 496
Books......Page 497
Editor Scripts......Page 498
C#......Page 501
Script Execution Order......Page 506
Tracking Apps......Page 508
Promo Codes......Page 510
Asset Store......Page 511
Final Words......Page 512
Index......Page 514
π SIMILAR VOLUMES
<p> Unity is an incredibly powerful and popular game creation tool, and Unity 4 brings even more great features, including Mechanim animation. <em>Learn Unity 4 for iOS Game Development</em> will show you how to use Unity with Xcode to create fun, imaginative 3D games for iPhone, iPad, and iPod t
<p> Unity is an incredibly powerful and popular game creation tool, and Unity 4 brings even more great features, including Mechanim animation. <em>Learn Unity 4 for iOS Game Development</em> will show you how to use Unity with Xcode to create fun, imaginative 3D games for iPhone, iPad, and iPod t
<p>Unity is an incredibly powerful and popular game creation tool, and Unity 4 brings even more great features, including Mechanim animation. <em>Learn Unity 4 for iOS Game Development</em> will show you how to use Unity with Xcode to create fun, imaginative 3D games for iPhone, iPad, and iPod touch
<p> Unity is an incredibly powerful and popular game creation tool, and Unity 4 brings even more great features, including Mechanim animation. <em>Learn Unity 4 for iOS Game Development</em> will show you how to use Unity with Xcode to create fun, imaginative 3D games for iPhone, iPad, and iPod t
Unity is an incredibly powerful and popular game creation tool, and Unity 4 brings even more great features, including Mechanim animation. Learn Unity 4 for iOS Game Development will show you how to use Unity with Xcode to create fun, imaginative 3D games for iPhone, iPad, and iPod touch. Youll lear