The Mastering Unity 4 Scripting Video series is full of handy topics relevant for a wide variety of games projects. The series assumes that you have a good understanding of C# and of the Unity IDE, for example, the difference between setting up a camera and a first person controller for a scene. However, it is possible to follow all of the examples in this series even if you are a beginner. The videos are short enough for you to re-watch the content as many times as you want so you can understand each section fully before progressing to the next.
The author has created videos that are clear, concise and easy to follow. After he has walked you through creating and testing your scripts, you are provided with explanations of how it all works. What I really enjoyed about these videos is that they not only show you how to create the scripts but also prove that they work and show what you will see when testing them out in “Play” mode via the Game window. What’s also useful is that at the end of each chapter you are given a recap of what you have learned and what the next chapter will cover.
The only thing that I would have preferred would be to see the scenes set up before writing the script (but I suppose this may detract from the focus of the book). This would have made the series more receptive to beginners or someone not used to the Unity IDE. However, there are some sections that walk you through how to add components and game objects to your scene so beginners won’t be lost.
So which chapter’s content is suitable for your project? In case you haven’t got time to watch all of the videos, I’ve summarised what projects I think each chapter can be applied to.
Chapter 1 & 2
The first two chapters are about creating a background audio controller and incorporating directional and conditional sound effects. These focus on how to add audio into your game and can be used for any game project. I really enjoyed watching this chapter as in-game audio is very important in creating a good atmosphere and enforcing your game’s environment.
Chapter 3 & 4
The next two chapters help you to make 2D and 3D parallax backgrounds. These, in effect, are scrolling backgrounds and can be used for environments within 2D side scrolling platform or 3D projects. You are also shown how to implement elements that scroll in the foreground.
Chapter 5 & 6
These next chapters focus on how to set up the enemies within your game, how to create an enemy character controller and how to script an enemy AI. These can be used on within any projects that have NPCs that require the ability to patrol, be idle, die or attack.
This chapter is about creating level changing systems. This can be used when you need to change levels/scenes depending on whether the player triggers the change by collision, GUI or randomly. So I believe this can be used within all types of game projects.
The last chapter teaches you how to create a very simple save and load system using PlayerPrefs. This can be used if your game requires information to be saved or retrieved. Again, this can be used within a wide variety of game genres that require e.g. an inventory to be carried across scenes or top score to be loaded from a previous game session.
Overall, these videos are short, simple to follow and the content can be extremely relevant across a number of projects to beginners and intermediate Unity game developers. If you would like to purchase this series of videos they are available from the PacktPub website.
Mastering Unity 4 Scripting is now available on PacktPub http://bit.ly/1bvUOMU.