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 5.x Cookbook

You're reading from   Unity 5.x Cookbook More than 100 solutions to build amazing 2D and 3D games with Unity

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher Packt
ISBN-13 9781784391362
Length 570 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (14) Chapters Close

Preface 1. Core UI – Messages, Menus, Scores, and Timers FREE CHAPTER 2. Inventory GUIs 3. 2D Animation 4. Creating Maps and Materials 5. Using Cameras 6. Lights and Effects 7. Controlling 3D Animations 8. Positions, Movement and Navigation for Character GameObjects 9. Playing and Manipulating Sounds 10. Working with External Resource Files and Devices 11. Improving Games with Extra Features and Optimization 12. Editor Extensions Index

What this book covers

Chapter 1, Core UI – Messages, Menus, Scores, and Timers, is filled with UI (User Interface) recipes to help you increase the entertainment and enjoyment value of your games through the quality of the interactive visual elements. You'll learn a wide range of UI techniques, including updatable text and images, directional radars, countdown timers, and custom mouse cursors.

Chapter 2, Inventory GUIs, shows you how many games involve the player-collecting items, such as keys to open doors, ammo for weapons, or choosing from a selection of items, such as from a collection of spells to cast. The recipes in this chapter offer a range of text and graphical solutions for displaying inventory status to the player, including whether they are carrying an item or not, or the maximum number of items they are able to collect.

Chapter 3, 2D Animation, includes powerful 2D animation and physics features. In this chapter, we present recipes to help you understand the relationships between the different animation elements in Unity, exploring both the movement of different parts of the body and the use of sprite-sheet image files that contain sequences of sprite frames pictures.

Chapter 4, Creating Maps and Materials, contains recipes that will give you a better understanding of how to use maps and materials with Unity 5's new Physically Based Shaders, whether you are a game artist or not. It is a great resource for exercising your image editing skills.

Chapter 5, Using Cameras, explains recipes covering techniques for controlling and enhancing your game's camera. This chapter will present interesting solutions to work with both single and multiple cameras.

Chapter 6, Lights and Effects, offers a hands-on approach to a number Unity's lighting system features, such as cookie textures, Reflection maps, Lightmaps, Light and Reflection probes, and Procedural Skyboxes. Also, it demonstrates the use of Projectors.

Chapter 7, Controlling 3D Animations, focuses on character animation, and demonstrates how to take advantage of Unity's animation system — Mecanim. It covers a range of subjects from basic character setup to procedural animation and ragdoll physics.

Chapter 8, Positions, Movement and Navigation for Character GameObjects, presents a range of directional recipes for computer-controlled objects and characters, which can lead to games with a richer and more exciting user experience. Examples of these recipes include spawn points, checkpoints, and waypoints. It also includes examples that make groups of objects flock together, and the use of Unity NavMeshes for automated path-finding over terrains and around obstacles.

Chapter 9, Playing and Manipulating Sounds, is dedicated to making sound effects and soundtrack music in your game more interesting. The chapter demonstrates how to manipulate sound during runtime through the use of scripts, Reverb Zones, and Unity's new Audio Mixer.

Chapter 10, Working with External Resource Files and Devices, throws light on how external data can enhance your game in ways such as adding renewable content and communicating with websites. The chapter also includes recipes on automating your builds with Unity Cloud, and how to structure your projects, so they can be easily backed up using online version control systems such as GitHub.

Chapter 11, Improving Games with Extra Features and Optimization, provides several recipes with ideas for adding extra features to your game (such as adding slow motion and securing online games). Many other recipes in this chapter provide examples of how to investigate and potentially improve the efficiency and performance of your game's code.

Chapter 12, Editor Extensions, provides several recipes for enhancing design-time work in the Unity Editor. Editor Extensions are scripting and multimedia components, that allows working with custom text, UI presentation of the game parameters, data in the Inspector and Scene panels, and custom menus and menu items. These can facilitate workflow improvements, thus allowing game developers to achieve their goals quicker and easier.

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 $19.99/month. Cancel anytime