Unity 5.x Cookbook

·
· Packt Publishing Ltd
3.8
6 reviews
Ebook
570
Pages

About this ebook

Over 100 recipes exploring the new and exciting features of Unity 5 to spice up your Unity skillsetAbout This BookBuilt on the solid foundation of the popular Unity 4.x Cookbook, the recipes in this edition have been completely updated for Unity 5Features recipes for both 2D and 3D gamesProvides you with techniques for the new features of Unity 5, including the new UI system, 2D game development, new Standard Shaders, and the new Audio MixerWho This Book Is For

From beginners to advanced users, from artists to coders, this book is for you and everyone in your team!

Programmers can explore multimedia features, and multimedia developers can try their hand at scripting. Basic knowledge and understanding of the Unity platform, game design principles, and programming knowledge in C# is essential.

What You Will LearnImmerse players with great audio, utilizing Unity 5's audio features including the new Audio Mixer, ambient sound with Reverb Zones, dynamic soundtracks with Snapshots, and balanced audio via DuckingCreate better materials with Unity's new, physically-based, Standard ShaderMeasure and control time, including pausing the game, displaying clocks and countdown timers, and even implementing “bullet time” effectsImprove ambiance through the use of lights and effects such as reflection and light probesCreate stylish user interfaces with the new UI system, including power-bars, clock displays, and an extensible inventory systemSave and load text and media assets from local or remote sources, publish your game via Unity Cloud, and communicate with websites and their databases to create online scoreboardsDiscover advanced techniques, including the publisher-subscriber and state patterns, performance bottleneck identification, and methods to maximize game performance and frame ratesControl 2D and 3D character movement, and use NavMeshAgents to write NPC and enemy behaviors such as seek, flee, flock, and waypoint path followingIn Detail

Unity 5 is a flexible and intuitive multiplatform game engine that is becoming the industry's de facto standard. Learn to craft your own 2D and 3D computer games by working through core concepts such as animation, audio, shaders, GUI, lights, cameras, and scripting to create your own games with Unity 5.

Completely re-written to cover the new features of Unity 5, this book is a great resource for all Unity game developers, from those who have recently started using Unity right up to Unity professionals.

The first half of the book focuses on core concepts of 2D game design while the second half focuses on developing 3D game development skills. In the first half, you will discover the new GUI system, the new Audio Mixer, external files, and animating 2D characters in 2D game development. As you progress further, you will familiarize yourself with the new Standard Shaders, the Mecanim system, Cameras, and the new Lighting features to hone your skills towards building 3D games to perfection. Finally, you will learn non-player character control and explore Unity 5's extra features to enhance your 3D game development skills.

Style and approach

Each chapter first introduces the topic area and explains how the techniques covered can enhance your games. Every recipe provides step-by-step instructions, followed by an explanation of how it all works, and useful additional refinements or alternative approaches. Every required resource and C# script (fully commented) is available to download, enabling you to follow each recipe yourself.

Ratings and reviews

3.8
6 reviews

About the author

Matt Smith is a computing academic from Dublin, Ireland. In 1983 Matt started computer programming (on a ZX80) and for his 'O-level' computing certificate (aged 16) he submitted 2 games for his programming project work. In 1985 Matt wrote the lyrics, and was a member of the band that played (and sang, sorry about that by the way) the music on the B-side of the audio cassette carrying the computer game Confuzion (https://en.wikipedia.org/wiki/Confuzion). On a succession of scholarships he managed to spend almost 10 years as a full time student, gaining BA (Hons), then MSc then PhD degrees in computing and artificial intelligence. He then became a full-time lecturer. Having previously lectured full-time at Winchester University and London's Middlesex University, since 2002 he has been at the Institute of Technology Blanchardstown in Dublin (http://www.itb.ie/) where he is he is now senior lecturer in computing. Some of his previous Irish–French student team games can be found and played at http://www.saintgermes.com (thanks for continuing to host these Guillem!). Matt was one of the two technical experts for a recent multimedia European project for language and cultural student work mobility (http://www.vocalproject.eu). He studies and teaches Taekwon-Do with his two children, having been awarded his first degree black belt in 2015 (he also runs his club's website at http://www.maynoothtkd.com/). He is trying to learn Irish, so he will understand the report cards from his children's Irish-speaking school. In occasional moments of free time he also tries to get better at playing the piano and classical guitar. Matt is a documentation author for the Fungus open source interactive storytelling plugin for Unity (http://www.fungusgames.com). Matt also maintains a step-by-step open source introduction to Unity 2D and 3D game programming on his public Github pages (see https://www.github.com/dr-matt-smith/gravity-guy2D). Matt's previous publications include a chapter in Serious Games and Edutainment Applications (Springer 2011, ISBN: 1447121600), and contributions and editing of several music education and artificial intelligence books.

Chico Queiroz is a digital media designer from Rio de Janeiro, Brazil. Chico started his career back in 2000, soon after graduating in Communications/Advertising (PUC-Rio), working with advergames and webgames using Flash and Director at LocZ Multimedia, where he contributed to the design and development of games for clients, such as Volkswagen and Parmalat, along with some independent titles. Chico has a master's degree in Digital Game Design (University for the Creative Arts, UK). His final project was exhibited at events and festivals such as London Serious Games Showcase and FILE. Chico has also published articles for academic conferences and websites such as http://www.gameology.org, http://www.gamasutra.com, and http://www.gamecareerguide.com. He curated and organized an exhibition held at SBGames 2009, which explored the connections between video games and art. SBGames is the annual symposium of the Special Commission of Games and Digital Entertainment of the Computing Brazilian Society. Chico currently works as a digital designer at the Tecgraf/PUC-Rio Institute for Technical-Scientific Software Development, where he, among other responsibilities, uses Unity to develop interactive presentations and concept prototypes for interactive visualization software. He also works as a lecturer at PUC-Rio, teaching undergraduate design students 3D modeling and technology/CG for games, in which Unity is used as the engine for the students' projects. Additionally, Chico is a PhD student in design at the same institution.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.