Cargando…

Unity 3.x game development essentials : game development with C♯ and Javascript /

This book follows an informal, demystifying approach to the world of game development with the Unity game engine. With no prior knowledge of game development or 3D required, you will learn from scratch, taking each concept at a time working up to a full 3D mini-game. You'll learn scripting with...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Goldstone, Will
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Pub., 2011.
Edición:2nd ed.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Unity 3.xGame Development Essentials; Unity 3.x Game Development Essentials; Credits; Foreword; About the Author; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Preface; What this book covers; What you need for this book; Who this book is for; Getting help with the book and updates; Conventions; Reader feedback; Customer support; Downloading the book asset bundle; Downloading the color images of this book; Errata; Piracy; Questions; 1. Enter the Third Dimension; Getting to grips with 3D.
  • CoordinatesLocal space versus world space; Vectors; Cameras; Projection mode--3D versus 2D; Polygons, edges, vertices, and meshes; Materials, textures, and shaders; Rigidbody physics; Collision detection; Essential Unity concepts; The Unity way--an example; Assets; Scenes; GameObjects; Components; Scripts; Prefabs; The interface; The Scene view and Hierarchy; Control tools; Flythrough Scene navigation; Control bar; Search box; Create button; The Inspector; The Project window; The Game view; Summary; 2. Prototyping and Scripting Basics; Your first Unity project; A basic prototyping environment.
  • Setting the sceneAdding simple lighting; Another brick in the wall; Building the master brick; And snap!--It's a row; Grouping and duplicating with empty objects; Build it up, knock it down!; Setting the viewpoint; Introducing scripting; A new behaviour script or 'class'; What's inside a new C♯ behaviour; Basic functions; Variables in C♯; What's inside a new Javascript behaviour; Variables in Javascript; Comments; Wall attack; Declaring public variables; Assigning scripts to objects; Moving the camera; Local, private, and public variables; Local variables and receiving input.
  • Understanding TranslateImplementing Translate; Testing the game so far; Making a projectile; Creating the projectile prefab; Creating and applying a material; Adding physics with a Rigidbody; Storing with prefabs; Firing the projectile; Using Instantiate() to spawn objects; Adding a force to the Rigidbody; Summary; 3. Creating the Environment; Designing the game; Using the terrain editor; Terrain menu features; Importing and exporting heightmaps; Setting the resolution; Mass place trees; Flatten Heightmap; Refresh tree and detail prototypes; The terrain toolset; Terrain Script; Raise height.
  • Paint heightSmooth Height; Paint Texture; Place Trees; Paint Details; Terrain Settings; Creating the island--sun, sea, and sand; Step 1--Setting up the terrain; Step 2--Creating the Island outline; Step 3--Volcano!; Step 4--Adding textures; Painting procedure; Sandy areas; Grass & Rock; Volcanoes rock!; Step 5--Tree time; Step 6--The grass is always greener; Step 7--Let there be lights!; Creating sunlight; Step 8--What's that sound?; Sounds--2D versus 3D; Audio file formats; The hills are alive!; Importing the book's asset package; Further audio settings; Step 9--Look, there! Up in the skybox!