Getting Started with Unity guides you progressively through the necessary steps to create a survival game using Unity3D’s built-in objects and components, JavaScript, animations with Mecanim, and some basic AI.
In this book, you will be introduced to a wide range of the core features used for games developed with Unity3D, including the user interface and much more. Furthermore, you will also learn about essential aspects like transformations, scripting, navigation, and built-in controllers.
Beginning with an introduction to the user interface, you will learn the necessary skills required to create a survival video game. Each section is a stepping-stone toward the completion of the final game. By the end of the book, you will have created an indoor level with enemies, AI, weapons, objects to collect, and all the logic to control the game.
Overview
- Use basic AI techniques to bring your game to life
- Learn how to use Mecanim; create states and manage them through scripting
- Use scripting to manage the graphical interface, collisions, animations, persistent data, or transitions between scenes
How to Obtain the Book
If you don’t have the book yet, you can purchase it as an ebook or paperback through Packt Publishing (eBook: €11.04; price last checked on 31/08/2013), or Amazon (paperback: €26.61; price last checked on 31/08/2013).
Enter a Draw to be in with a Chance of Receiving a Free Copy of the Book
Thanks you for those who took part in the competition. The draw is now closed and the winners have been nominated. There may be another competition in the future, and you can subscribe to the mailing list to receive updates.
Material and Solutions for each Chapter
** Before you download the material and solutions for the chapter, why not subscribe to our newsletter to receive updates on this book (including assets, video tutorials, and more). This only takes about 30 seconds. **
This section includes all necessary material and solutions (code and packages) for all chapters
The login and password are outbreak
- Chapter1
- Texture for the floor (CGtextures.com)
- Texture for the box (CGtextures.com)
- Chapter2
- Texture for the floor
- Texture for the walls (CGtextures.com)
- Texture for the ceiling (CGtextures.com)
- Texture for the door (CGtextures.com)
- Chapter3
- Chapter4
- Chapter5
- Chapter6
- Package for chapter6
- Solution (all scripts)
-
Audio sound Gustav Sting (Kevin MacLeod)
-
Audio sound take a Chance (Kevin MacLeod)
-
Audio sound Exciting Trailer (Kevin MacLeod)
-
Audio Sound Feral Chase (Kevin MacLeod)
Errata
Erratum I
Before modifying the script to handle collision with the water on page 133, in the script “collisionDetection” , the following line
if(c.gameObject.tag == “medpack” || c.gameObject.tag == “key” || c.gameObject.tag == “gun” || c.gameObject.tag == “ammunitions”)
should be changed to:
if(c.gameObject.tag == “medpack” || c.gameObject.tag == “key” || c.gameObject.tag == “gun” || c.gameObject.tag == “ammunitions” || c.gameObject.tag == “water”)
Erratum II
On page 124, the code
setCharacterType(canFollowPlayerCrumbs)
should be replaced by
setCharacterType(canFollowPlayersCrumbs)
[an ‘s’ needs to be added after the word Player]
Erratum III
On page 125, the text “In statement 4 of the previous code, we create an array that will include all of the breadcrumbs generated by this zombie” should read “In statement 4 of the previous code, we create an array that will include all of the breadcrumbs generated by the player”
[In this section, the breadcrumbs are dropped by the player, not the zombie]
Other Known Issue
Mailing List
To have access to additional material for this book and receive updates, you can subscribe to the newsletter. This newsletter will only be used to send you updates on the book and new publications or material related to Getting Started with Unity3D. Your email will be kept confidential and you will have the option to unsubscribe at anytime if you wish to do so.
What the readers say about the book
Getting Started is a good book covering a ton of content. Even with the consideration that the code in the book is written in JavaScript, I would highly recommend this book to anyone interested in beginning game development, especially those interested in Unity
Getting started with Unity is a solid title – in as little as 170 pages, you get to build a level from scratch with free assets, a menu, animated zombies governed by some basic AI, create a GUI complete with inventory and health bar and take a good look at the new animation system in Unity…quite a feat.
I highly recommend this book to anyone who wishes to learn Unity3D. It covers the latest Unity3D features while implementing a fantastic, fully functioning and interesting game
The book is relatively short, about 140 pages if you don’t count the front and back matter, and it covers a lot of ground. As a result, the book provides a quick introduction to many topics
Several Unity Enthusiasts have already subscribed to our Newsletter, and so can you! |