Mastering Unity 4 Scripting

Master Unity 4 gameplay scripting with this dynamic video course
0.0 (0 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
29 students enrolled
$85
Take This Course
  • Lectures 24
  • Contents Video: 1.5 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 12/2014 English

Course Description

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.

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.

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.

Mastering Unity 4 Scripting is a great course to learn all you need to get started with making your own games.

About the Author

Kyle D'Aoust has been programming for about 10 years. In 2004, at the age of 14, he taught himself the C++ language. By the end of high school, he had learned Visual Basic and JavaScript as well. In college, he majored in game production and specialized in the Unity engine using C#.

After graduating from college, Kyle started his career with gamifying software. He is currently working as a Serious Games Developer at Quicken Loans, creating games used as training material.

What are the requirements?

  • 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.

What am I going to get from this course?

  • Create a background audio controller
  • Incorporate directional and conditional sound effects
  • Make 2D and 3D parallax backgrounds
  • Create an enemy character controller
  • Script an enemy AI
  • Create level changing systems
  • Save and load data

What is the target audience?

  • This video course is for anyone who has at least a basic knowledge of programming and/or experience with Unity programming. If you have programming experience but haven't used Unity before, or if you have Unity programming skills and are looking to expand them, then this course is perfect for you.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Creating a Background Audio Controller
04:36

Keep things simple and straightforward.

05:42

Play a different song depending on which zone you enter. To do this you assign a song for each tagged object you collide with.

05:44

Play a song depending on which situation the player enters such as a battle or a storm. When this happens, play a song in accordance to the situation.

Section 2: Incorporating Sound Effects
02:55

Play a sound effect when the user presses a key or a button on the mouse.

05:08

Play a random sound effect to enhance a game's realism.

04:52

Adjust the volume according to how loud you want the background music to be compared to your sound effects.

Section 3: Making 2D Parallax Backgrounds
03:24

Figure out how to move the background texture by setting it to offset as time goes on.

04:40

Figure out how to move the background texture by moving it only when the player goes left or right.

06:33

Figure out how to spawn independent background objects randomly by spawning them at random time intervals.

Section 4: Making 3D Parallax Backgrounds
01:35

Figure out how to create a 2D sidescroller look to a 3D game by adjusting your level, camera, and character.

03:47

Think about moving in a 3D space with the camera locked on a single axis.

03:19

Jumping in a 3D parallax is essentially the same as in a non parallax

Section 5: Creating an Enemy Character Controller
04:00

Think of a way to handle different types of AI by creating states to order and cleanly run AI systems.

04:45

Figure out not just how to write the code to play animations, but control them as well by setting a speed variable and controlling the wrap mode.

03:46

Make the enemy character come to life by assigning the script we wrote.

Section 6: Creating Enemy AI
02:50

Figure out how to create a “lively” enemy by making it look at a target

05:49

Figure out how to make the enemy follow a path by using waypoints.

06:15

Implement some common behaviors to the AI

Section 7: Creating Level Changing Systems
03:39

Instead of changing levels with everything you collide with, select only a specific object to tag and use that object.

02:59

Manage level selection by creating GUI buttons to change levels.

03:14

Make use of the Random Range function to randomize what level is next.

Section 8: Creating an Item Carry-Over System
02:11

Figure out how to use your PlayerPrefs by giving them local variables.

02:52

Learn how to save your PlayerPrefs by assigning your local variables to them.

05:15

Figure out how to use your PlayerPrefs by loading them into your local variables.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Packt Publishing, Tech Knowledge in Motion

Over the past ten years Packt Publishing has developed an extensive catalogue of over 2000 books, e-books and video courses aimed at keeping IT professionals ahead of the technology curve. From new takes on established technologies through to the latest guides on emerging platforms, topics and trends – Packt's focus has always been on giving our customers the working knowledge they need to get the job done. Our Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.

Ready to start learning?
Take This Course