Getting Started with Unity 5
eBook - ePub

Getting Started with Unity 5

Dr. Edward Lavieri

Partager le livre
  1. 184 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Getting Started with Unity 5

Dr. Edward Lavieri

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Getting Started with Unity 5 est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Getting Started with Unity 5 par Dr. Edward Lavieri en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Computer Science et Entreprise Applications. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2015
ISBN
9781784398316

Getting Started with Unity 5


Table of Contents

Getting Started with Unity 5
Credits
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
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Getting Jiggy with the Unity Interface
Why Unity?
Getting your hands on Unity
Projects
Layouts
Views
The Scene view
The Game view
The Hierarchy view
The Project view
The Inspector view
Transform tools
Cameras
Summary
2. Creating the Game Environment
Game design
Game look
Player objectives
Gameplay
User actions
Artificial Intelligence
End state
Terrain
Creating the terrain
Adding mountains
Adding a river
Textures
Additional environmental features
Natural bridge
Planting trees
Water
Creating the sky
Summary
3. Working with Assets
Assets
Asset packages
Unity Asset Store
Adding assets to your game
Using the Unity Asset Store
Importing a custom asset package
Importing the game characters
Importing the buildings
Using Blender to create assets for your game
Summary
4. Animating the Game Characters
Animation basics
Character controllers
First person controller
Creating a third person controller
Animating player characters
Little farmer Colt
Old farmer character
Farm animals
Previewing animations
Creating animation clips
Summary
5. Scripting the Game
C# programming primer
Syntax
Naming conventions
Class, function, and method names
Camel case
Abbreviations
Special characters
Data types
Using MonoDevelop
Scripting with C# in Unity
Start and update functions
Scripting example
Unity scripting assets
Scripting our game
Script planning
Gathering corn
Gathering water
Feeding piglets
Feeding baby chicks
Feeding pigs
Feeding adult chickens
Data requirements
All about the pigs
Chicks and chickens
Corn and water
Initializing our data
Selective scripts
Selective script – global variables
Selective script – evoking the take animation
Selective script – feeding the farm animals
Organizing scripts
Summary
6. Adding a Graphical User Interface
An overview of GUI
Functions of a GUI
Feedback
Control
Feedback and Control
Game Layers
Unity 5's UI system
Canvas
Render mode
Creating a GUI
HUD
Creating an HUD
Mini-maps
Creating a mini-map
Game navigation
Summary
7. Polishing and Optimizing the Game
Sight and sound
Unity's sound capabilities
Audio listener
Audio clips
Audio source
Implementing sound effects
Visual effects
Spotlight orb with halo effect
Casting shadows
Trail rendering
Rendering options
The Profiler window
Rendering optimization
Imposing limits
Baking images
Optimizing scripts
Summary
8. What's Next?
Improving our game
Audio
Visual effects
Functionality
Levels
Project management
Unity workflow
Art and animation
Scripts
Other assets
Scaling projects
Development concepts
Cross-platform considerations
Plugins
Attribution
Advanced topics
Particle systems
Inventory control systems
Dialog systems
Summary
Index

Getting Started with Unity 5

Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: May 2015
Production reference: 1260515
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78439-831-6
www.packtpub.com

Credits

Author
Dr. Edward Lavieri
Reviewe...

Table des matiĂšres