Unity Game Development Essentials


Will. Goldstone
Bok Engelsk 2009 · Electronic books.
Annen tittel
Utgitt
Birmingham : : Packt Publishing, , 2009.
Omfang
1 online resource (316 p.)
Opplysninger
Description based upon print version of record.. - Cover; Table of Contents; Preface; Chapter 1: Welcome to the Third Dimension; Getting to grips with 3D; Coordinates; Local space versus World space; Vectors; Cameras; Polygons, edges, vertices, and meshes; Materials, textures, and shaders; Rigid Body physics; Collision detection; Essential Unity concepts; The Unity way; Assets; Scenes; Game Objects; Components; Scripts; Prefabs; The interface; The Scene window and Hierarchy; The Inspector; The Project window; The Game window; Summary; Chapter 2: Environments; External modellers; Resources; Your first Unity project; Using the terrain editor. - Creating the GUI Texture objectPositioning the GUI Texture; Scripting for GUI change; Battery collection with triggers; Restricting outpost access; Restricting access; Utilizing GetComponent; Hints for the player; Battery GUI hint; GUI Text hint; Using fonts; Summary; Chapter 6: Instantiation and Rigid Bodies; Introducing instantiation; In concept; In code; Passing in an object; Position and rotation; Introducing rigid bodies; Forces; The Rigidbody component; Making the minigame; Creating the coconut prefab; Creating the textured coconut; Adding physics; Saving as a prefab. - Creating the Launcher object. - Deconstructing the First Person Controller objectParent-child issues; First Person Controller objects; Object 1: First Person Controller (parent); Object 2: Graphics; Object 3: Main Camera; Scripting basics; Commands; Variables; Functions; If else statements; Globals and dot syntax; Comments; Further reading; The FPSWalker script; Launching the script; Deconstructing the script; Summary; Chapter 4: Interactions; Exploring collisions; Ray casting; The frame miss; Predictive collision detection; Adding the outpost; Positioning; Scaling; Colliders and tagging the door. - Disabling automatic animationOpening the outpost; Approach 1-Collision detection; Creating new assets; Scripting for character collision detection; Attaching the script; Approach 2-Ray casting; Disabling collision detection-using comments; Resetting the door collider; Adding the ray; Summary; Chapter 5: Prefabs, Collection, and HUD; Creating the battery prefab; Download, import, and place; Tagging the battery; Scale, collider, and rotation; Enlarging the battery; Adding a trigger collider; Creating a rotation effect; Saving as a prefab; Scattering batteries; Displaying the battery GUI. - Terrain menu featuresImporting and exporting heightmaps; Set Heightmap resolution; Creating the lightmap; Mass Place Trees; Flatten Heightmap; Refresh Tree and Detail Prototypes; The terrain toolset; Terrain Script; Raise Height; Paint height; Smooth height; Paint Texture; Place Trees; Paint Details; Terrain Settings; Sun, Sea, Sand-creating the island; Take Me Home! Introducing models; Importing the model package; Common settings for models; Setting up the outpost model; Summary; Chapter 3: Player Characters; Working with the Inspector; Tags; Layers; Prefabs and the Inspector. - Build fully functional, professional 3D games with realistic environments, sound, dynamic effects, and more!
Emner
Sjanger
Dewey
ISBN
9781847198181

Bibliotek som har denne