CANCEL
Subscription
0
Your Cart
(0 item)
You have no products in your basket yet
Save more on your purchases!
Buy 2 products and get 15% off
Buy 3-4 products and get 20% off
Buy 5+ products and get 50% off
Savings automatically calculated. No voucher code required.
Checkout
Account
Sign in
New User?
Create Account
Your Account
Your Orders
Change country
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Canary Islands
Hungary
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
SALE ENDS IN
0
Days
:
00
Hours
:
00
Minutes
:
00
Seconds
GO TO
TOP
You're reading from
Unity 2018 By Example
Learn about game and virtual reality development by creating five engaging projects
Product type
Paperback
Published in
Jul 2018
Publisher
ISBN-13
9781788398701
Length
484 pages
Edition
2nd Edition
Languages
C#
Tools
Unity
Concepts
3D Game Development
Table of Contents
(14) Chapters
Preface
Who this book is for
What this book covers
To get the most out of the book
Get in touch
1. Unity Fundamentals
Game design
Getting started – Unity and projects
Projects and project folders
Importing assets
Starting a level
Transformations and navigation
Scene building
Lighting and sky
Play testing and the Game tab
Adding a water plane
Adding a coin to collect
Summary
Test your knowledge
Further Reading
2. Creating a Collection Game
FREE CHAPTER
Creating a coin material
C# scripting in Unity
Counting coins
Collecting coins
Coins and prefabs
Timers and countdowns
Celebrations and fireworks!
Play testing
Building
Summary
Test your knowledge
Further reading
3. Creating a Space Shooter
Looking ahead – the completed project
Getting started with a space shooter
Creating a player object
Player input
Configuring the game camera
Bounds locking
Health
Death and particles
Enemies
Enemy spawning
Summary
Test your knowledge
Further reading
4. Continuing the Space Shooter
Guns and gun turrets
Ammo prefabs
Ammo spawning
User controls
Scores and scoring – UI and text objects
Working with scores – scripting with text
Polishing
Testing and diagnosis
Building
Summary
Test your knowledge
Further Reading
5. Creating a 2D Adventure Game
A 2D Adventure – getting started
Importing assets
Creating an environment – getting started
Environment Physics
Creating a player
Scripting the player movement
Optimization
Summary
Test your knowledge
Further reading
6. Continuing the 2D Adventure
Moving platforms
Creating other scenes – levels 2 and 3
Kill zones
The UI health bar
Ammo and hazards
Gun turrets and ammo
NPCs and quests
Summary
Test your knowledge
Further Reading
7. Creating Artificial Intelligence
An overview of the project
Getting started
Terrain construction
Navigation and navigation meshes
Building an NPC
Creating patrolling NPCs
Summary
Test your knowledge
Further Reading
8. Continuing with Intelligent Enemies
Enemy AI – range of sight
An overview of Finite State Machines
The Patrol state
The Chase state
The Attack state
Summary
Test your knowledge
Further Reading
9. Entering Virtual Reality
Project Overview – Getting Started
Setting Scene Lighting
Post-Processing Stack 2
Preparing for VR
Summary
Test your knowledge
10. Completing the VR Game
Object Pool and Spawning
Creating Intelligent Enemies – Navigation
Creating Intelligent Enemies – FSMs
Attack and Damage
Summary
Test your knowledge
A. Test Your Knowledge Answers
Chapter 1- Unity Fundamentals
Chapter 2- Creating a Collection Game
Chapter 3- Creating a Space Shooter
Chapter 4- Continuing the Space Shooter
Chapter 5- Creating a 2D Adventure
Chapter 6- Continuing the 2D Adventure
Chapter 7- Creating Artificial Intelligence
Chapter 8- Continuing with Intelligent Enemies
Chapter 9- Entering Virtual Reality
Chapter 10- Completing the VR Game
Other Books You May Enjoy
Leave a review - let other readers know what you think
Index
Appendix A. Test Your Knowledge Answers
This appendix contains answers to all the Test Your Knowledge quizzes that appear in the chapters.
The rest of the chapter is locked
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Start free trial
Previous Section
Section 1 of 11
Next Section
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Sign up now
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Start free trial
Renews at
€18.99/month
. Cancel anytime
Other recommended products
Related to this chapter
Unity 2020 By Example
Read more
Unity is the most exciting and popular game engine. After the latest release, Unity has become the primary source of game and Virtual Reality development throughout the world. In this book, you'll learn how to use Unity by making amazing games from popular genres; from an action shooter to a mindbending puzzle game, from an adventure to a VR game.
Read more
Sep 2020
22h 32m
Mastering Unity 2017 Game Development with C#
Read more
Do you want to take the leap from being an everyday Unity developer to being a pro game developer? Then look no further! This book is your one stop solution to creating mesmerizing games with lifelike features and amazing gameplay. This book takes an in-depth focus on a practical project with Unity, building a first-person game with many features. You will make the most of the Unity 2017 advanced features while you develop the game in its entirety.
Read more
Oct 2017
18h 56m
Mastering Unity 5.x
Read more
Mastering Unity 5.x is for developers wishing to optimize the features of Unity 5.x. With an in-depth focus on a practical project, learn all about Unity architecture and impressive animation techniques. With this book, produce fun games with confidence.
Read more
Jan 2017
19h 44m
Getting Started with Unity 2018
Read more
The Unity game engine has revolutionized the gaming industry with its complete set of intuitive tools.. This book will guide you through the entire process of creating a 3D VR game, from downloading the Unity game engine to publishing your game. It not only gives you a strong foundation, but puts you on the path to game development.
Read more
Mar 2018
11h 12m
Unity Artificial Intelligence Programming
Read more
Unity 2018 provides game and app developers with a variety of tools to implement Artificial Intelligence(AI). Leveraging these tools via Unity's API allows limitless possibilities for creating your game's worlds and characters. This edition will break down AI into simple concepts to give you a fundamental understanding of the topic to build upon.
Read more
Nov 2018
8h 12m
Building an RPG with Unity 2018
Read more
Unity is one of the most cutting-edge game engines in the world. This comprehensive guide on building some core features of an RPG with Unity teaches you techniques used in developing modern games. The book will mainly focus on the strategy, planning and the implementation of the code. By the end of the book, you will be able to build upon the core RPG framework elements to create your own game experience.
Read more
Jul 2018
12h 12m
Mastering Android Game Development with Unity
Read more
Game engines such as Unity are the power-tools behind the games we know and love. Unity is one of the most widely-used and best-loved packages for game development and is used by everyone, from hobbyists to large studios, to create games and interactive experiences for the Web, desktop, mobile, and console. With Unity's intuitive, easy-to-learn toolset and this book, it's never been easier to become a game developer.
Read more
May 2017
11h 44m
Hands-On Game Development without Coding
Read more
Unity is one of the biggest game engines used to create half of the world's games. You will be learning how to build games without any coding and with just Unity. By the end of the book you would have taken the first step in your game development journey and successfully created your very own 2D and 3D game with Unity Game Kit
Read more
Nov 2018
14h 20m
Mastering Oculus Rift Development
Read more
Read more
Feb 2017
10h 12m
Learning C# 7 By Developing Games with Unity 2017
Read more
Do you want to learn C# programming by creating fun and interactive games using the latest Unity 2017 platform? If so, look no further; this is the right book for you. Get started with programming C# so you can create 2D and 3D games in Unity. We will walk you through the basics to get you started with C# 7 and its latest features. Then, explore the use of C# 7 and its latest functional programming capabilities to create amazing games with Unity 2017.
Read more
Dec 2017
9h 40m
Unity 2021 Cookbook
Read more
Unity 2021 Cookbook is a practical guide with recipes covering a wide variety of Unity's essential features. This new edition has been fully updated for Unity 2021 to help you discover not only the latest features but also modern game development practices.
Read more
Sep 2021
27h 12m
Unity 2017 2D Game Development Projects
Read more
2D games are everywhere! Timeless and popular, 2D games represent a substantial segment of the games market. The Unity engine has revolutionized the gaming industry, by making it easier for game developers to create quality games on a budget. If you are looking for a guide to create 2D games using Unity 2017, look no further. With this book, you will learn all the essentials of 2D game development by creating three real-world games in a step-by-step manner throughout the course of this book.
Read more
Jan 2018
11h 16m
Build Your Future-Ready Stack!
Every eBook is
€8.99
- master what's next.
SHOP NOW
Personalised recommendations for you
Based on your interests and search pattern
Realizing 3D Animation in Blender
Read more
Learn Blender and animation at the same time! With clearly explained exercises, insightful commentary, and a focus on animation, this book has everything you need to start animating with the world's most advanced free software for 3D content creation.
Read more
Jul 2024
15h 12m
Unity 2022 by Example
Read more
This book will introduce you to C# concepts and programming patterns in Unity that will help you solve common problems. After working on a range of 2D, 3D, AR, and VR game projects, you'll be able to confidently build playable and commercial games.
Read more
Jun 2024
19h 52m
Mastering Unity Game Development with C#
Read more
A game changer for developers, this book will guide you through project structuring, clean C# coding, and UI optimization. You'll be able to elevate your Unity game development skills with real-world projects, hands-on tutorials, and expert tips.
Read more
Jul 2024
11h 52m
The Intergalactic Guide to Building an RPG in Unity
Read more
In this book, you will learn how to build high-quality and market-ready Roleplaying Games (RPG) projects in Unity. You will cover ScriptableObjects, characters, animations, navigation, combat system, terrain, Foley sound, ambient sound and musical soundtrack. You will also add hero abilities, visual effects, level loading, and more.
Read more
Oct 2024