Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Unity Game Development Scripting

You're reading from   Unity Game Development Scripting Write efficient C# scripts to create modular key game elements that are usable for any kind of Unity project

Arrow left icon
Product type Paperback
Published in Dec 2014
Publisher
ISBN-13 9781783553631
Length 202 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Kyle D'Aoust Kyle D'Aoust
Author Profile Icon Kyle D'Aoust
Kyle D'Aoust
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Interactive Input FREE CHAPTER 2. GUI Time 3. Expandable Item Classes 4. Inventory 5. Enemy and Friendly AIs 6. Keeping Score 7. Creating Save and Load Systems 8. Aural Integration 9. Game Settings 10. Putting It All Together Index

What this book covers

Chapter 1, Interactive Input, gives an in-depth look at how to create controls for both the Xbox 360 Controller and mouse/keyboard inputs. Along with creating those inputs, you'll also create customizable control profiles that the player can use to play your game the way they want to.

Chapter 2, GUI Time, will help you create both 2D and 3D GUI elements. This covers health bars, player data, hovering 3D health bars, 3D damage reports, enemy names, and so on.

Chapter 3, Expandable Item Classes, will teach you how to create in-game item classes for self, melee, and projectile items. Then, you'll create a classification system for these items to determine what they do.

Chapter 4, Inventory, will teach you a way to create an inventory system for your game. In this system, there'll be common inventory elements created such as adding items, removing items, and creating quick-select items. Finally, you'll also create a way to show the inventory on the GUI.

Chapter 5, Enemy and Friendly AIs, will demonstrate how to create a dynamic AI. It will cover what a finite state machine is and also what a behavior tree is. This AI system will handle behaviors, actions, animations, pathfinding, and also a waypoint system.

Chapter 6, Keeping Score, covers how to create, track, and save stats for the player. You'll also create a system for achievements for those stats as well.

Chapter 7, Creating Save and Load Systems, covers how to create systems to save and load from a flat file as well as an XML file. Then, you'll take these systems and implement them on a checkpoint-based save system and an anywhere/anytime saving system.

Chapter 8, Aural Integration, covers the creation of systems that will handle background music, atmospheric sounds, and sound effects. These systems are a playlist system, a randomized system, and an event-driven system.

Chapter 9, Game Settings, covers how to create customizable configurations for audio and video settings. You'll create the ability to save and load these settings by using PlayerPrefs.

Chapter 10, Putting It All Together, will put almost everything you've learned from the previous chapters into a small game. By taking elements from the previous chapters, you'll create a short First Person Action RPG.

lock icon The rest of the chapter is locked
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.
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
Renews at AU $24.99/month. Cancel anytime