Book Image

Mastering Unity 4 Scripting [Video]

By : Kyle D'Aoust
Book Image

Mastering Unity 4 Scripting [Video]

By: Kyle D'Aoust

Overview of this book

<p>Mastering Unity 4 Scripting will show you the ropes for all the tools you'll need to make just about any game. Whether it's 2D or 3D, a first-person shooter or puzzle game, everything you need to know, will be covered in this course.</p> <p>Mastering Unity 4 Scripting will teach you everything you need to know in order to make a wide variety of games. This course covers valuable topics such as audio, animation, saving and loading data, as well as scripting behavioral artificial intelligence - all of which will be discussed in a systematic and simple series of videos.</p> <p>This course begins by demonstrating how to program audio, then delves into AI scripting, and then wraps up with how to save and load data. Beginning with handling audio and sound effects, you then get into handling parallax backgrounds. After that, you will learn how to create an AI and character controller for a generic enemy. The course then wraps up by learning how to change levels and save/load data.</p> <p>Mastering Unity 4 Scripting is a great course to learn all you need to get started with making your own games.</p> <h1>Style and Approach</h1> <p>Packt video courses are designed to cover the breadth of the topic in short, hands-on, task-based videos. Each course is divided into short manageable sections, so you can watch the whole thing or jump to the bit you need. The focus is on practical instructions and screencasts showing you how to get the job done.</p> <p>Anyone with a basic knowledge of programming and/or experience with Unity programming will find this course handy. Beginning with handling audio and sound effects, you will then get into handling parallax backgrounds. After that, you will learn how to create an AI and character controller for a generic enemy. The course then wraps up by teaching you how to change levels and save/load data - everything you need to get started with making your own games.</p>
Table of Contents (8 chapters)
Chapter 8
Creating an Item Carry-Over System
Content Locked
Section 2
Create Save System for PlayerPrefs
Normal 0 false false false EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} Learn how to save your PlayerPrefs by assigning your local variables to them. - Create the Save function - Use PlayerPrefs.Set to save your variables to the prefs - Save the script