Unity 3 Game Development Hotshot

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Only Unity fits the bill of being a game engine that allows you to create a full 3D game for free, and with phenomenal community support. This book will equip you with the skills to create professional looking games at no cost. Unity 3 Game Development Hotshot will teach you how to exploit the full array of Unity 3Ds technology in order to create an advanced gaming experience for the user, with eight exciting and challenging projects that provide a step-by-step explanation, diagrams, and screenshots to help you achieve that goal.

Author(s): Jate Wittayabundit
Publisher: Packt Publishing
Year: 2011

Language: English
Pages: 380
Tags: Библиотека;Компьютерная литература;Unity;

Cover
......Page 1
Copyright......Page 3
Credits......Page 4
About the Author......Page 5
About the Reviewers......Page 6
www.PacktPub.com......Page 7
Table of Contents......Page 8
Preface......Page 12
Mission Briefing......Page 20
Creating a camera and a level......Page 22
Creating a 2D character......Page 31
SpriteManager class......Page 36
Jumping and physics......Page 44
Creating key and door......Page 51
Adding a sound and replay button......Page 55
Mission Accomplished......Page 60
Hotshot Challenge......Page 61
Mission Briefing......Page 62
Custom skin with GUI Skin......Page 65
Creating a menu object......Page 81
Creating a status tab......Page 87
Creating an inventory tab......Page 93
Creating an equipment tab......Page 99
Mission Accomplished......Page 109
Hotshot Challenge......Page 110
Project 3:
Model and Shade our Hero/Heroine......Page 112
Mission Briefing......Page 113
Exporting from 3D Studio Max......Page 117
bump (normal) map......Page 123
specular light......Page 135
toon ramp......Page 141
Mission Accomplished......Page 147
Hotshot Challenge......Page 148
Mission Briefing......Page 150
level......Page 152
built-in script......Page 162
script......Page 166
Creating CrossFade animation......Page 173
follow our characte......Page 177
Mission Accomplished......Page 182
Hotshot Challenge......Page 183
Mission Briefing......Page 184
first-person controller prefab......Page 186
MouseLook_JS scripts......Page 193
scope target......Page 202
Creating the rockets and particles......Page 207
Creating the rocket bullet UI......Page 216
Mission Accomplished......Page 219
Hotshot Challenge......Page 221
Project 6:
Create Smart AI......Page 222
Mission Briefing......Page 223
Creating the waypoint and gizmos......Page 226
Creating an enemy AI......Page 237
AIController script......Page 240
Creating a hit-point UI......Page 254
Mission Accomplished......Page 258
Hotshot Challenge......Page 260
Project 7:
Forge a Destructible and Interactive Virtual World......Page 262
Mission Briefing......Page 263
Optimizing the AIController script......Page 265
Creating a ragdoll......Page 272
Creating a destructible wall......Page 281
Creating a rockslide and trigger area......Page 286
Mission Accomplished......Page 292
Hotshot Challenge......Page 295
Mission Briefing......Page 296
Creating a high score menu......Page 299
score......Page 306
Getting XML data from server......Page 317
server......Page 323
Mission Accomplished......Page 332
Hotshot Challenge......Page 333
Awake......Page 334
FixedUpdate......Page 335
OnGUI......Page 336
OnDrawGizmos......Page 337
YieldInstruction......Page 340
WaitForSeconds......Page 341
WaitForFixedUpdate......Page 342
Coroutine......Page 343
StartCoroutine......Page 344
StopCoroutine......Page 346
StopAllCoroutines......Page 347
Unity Script Directives......Page 350
Variable declaration......Page 351
Character literals not supported......Page 352
Class declarations......Page 353
Generics......Page 354
The foreach keyword......Page 355
YieldInstruction and coroutine......Page 356
Casting......Page 357
Properties with getters/setters......Page 358
Function/method definitions......Page 359
Reference......Page 360
Appendix D:
Shaders and Cg/HLSL Programming......Page 362
ShaderLab properties......Page 363
Surface shaders......Page 364
Cg/HLSL programming......Page 369
Reference......Page 371
Index......Page 372