Unity 5 Scripting and Gameplay Mechanics
4.3 (4 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.
85 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Unity 5 Scripting and Gameplay Mechanics to your Wishlist.

Add to Wishlist

Unity 5 Scripting and Gameplay Mechanics

Enhance your knowledge of scripting and master gameplay mechanics in Unity 5
4.3 (4 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.
85 students enrolled
Created by Packt Publishing
Last updated 1/2017
Curiosity Sale
Current price: $10 Original price: $125 Discount: 92% off
30-Day Money-Back Guarantee
  • 3.5 hours on-demand video
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • See how to navigate menus and toolbars and gain a basic understanding of Unity's interface
  • Work confidently with C# scripts, functionality, and coding behaviors
  • Familiarize yourself with the best practices of Unity 5.x
  • Get to know several best practices for component-based designs
  • Improve productivity by learning coding behaviors, which will promote code reuse and reduce redundancy
  • Create a great countdown timer functionality and work with the 2D feature set
View Curriculum
  • Using easy-to-follow videos, this course provides step-by-step instructions on howto develop a strong Unity skill set. You’ll create a few action-packed games from scratch, using examples that are fun, challenging, engaging, and rewarding.

Develop your Unity skills further by exploring scripting and gameplay mechanics. In this course, Alan Thorn helps you understand the fundamentals of using C# scripts in Unity to build valuable gameplay elements, such as timers and moving objects. Then, you’ll move onto building a solid foundation for engineering more complex behaviors. By the end of this course, you’ll have established a firm intermediate knowledge of Unity.

This course will get you familiarized with the best practices for Unity 5.x and component based designs. You’ll also be able to improve your 3D modeling and animation skills. Testing and Debugging using different functionalities and techniques will also be incorporated in this course.

About The Author

Alan Thorn is a multidisciplinary game developer, author, and educator with 16 years of industry experience. He makes games for PC desktop, mobile, and VR. He founded Wax Lyrical Games and created the award-winning game Baron Wittard: Nemesis of Ragnarok, working as a designer, programmer, and artist.

He has written 20 technical books on game development and presented fifteen video training courses. These cover gameplay programming, Unity development, 3D modelling, and animation. He has worked in game development education as a visiting lecturer for the National Film and Television School, as a lead teacher for Uppingham School, and as a senior lecturer at Teesside University.

Who is the target audience?
  • Whether you’re completely new to game development, or you’re an experienced developer looking to refine their skills, this course shows you everything you need to build games quickly and easily with Unity 5.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
30 Lectures
Getting Started with Scripting
4 Lectures 24:17

This video gives overview of the entire course.

Preview 05:01

Explore how to configure Unity for scripting, and how to configure MonoDevelop for writing scripts. 

Configuring Unity and MonoDevelop for Scripting

Create a hello world application that compiles and works with Unity to display a debug message in the console. 

Creating a Hello World Program

See how to access and use the Unity reference documentation for creating functional code. 

Using the Unity Scripting Reference
Moving Object Scripts
5 Lectures 30:00

Explore local and world coordinate spaces, the transform component, and mover scripts. 

Preview 08:03

Access the Transform Component and Position an Object. 

Positioning an Object through Script

Change the position of an object across time.

Moving an Object through Script

Animate an object's position over time using vectors 

Working with Vectors and Motion

Transform an object consistently over time in a frame-independent way. 

Using DeltaTime
Testing and Debugging Code
3 Lectures 20:19

Create a script to turn and spin an object around its local axis. 

Preview 07:40

Test-play a game and use the Object Inspector to debug properties. 

Play Mode and Debugging

Control variable visibility in the Object Inspector. 

Download Unity
Working with Collectables
2 Lectures 14:59

Create a coin prefab from a cylinder primitive that can be reused as a collectible power-up. 

Preview 04:42

Create a rotating coin prefab. 

Creating Coin Rotation
Creating Functionality
6 Lectures 48:02

Access and count objects in the level, and determine a win condition. 

Preview 10:21

Detect collisions between the player and coin prefabs. 

Triggers and Collisions

Create a timer class for a countdown. 

Creating a Timer

Create a user interface for displaying a timer countdown. 

Create a User Interface

Update UI Text to display a countdown. 

Use Text Object to Display Countdown

Display a firework particle system on completing the level. 

Handle the Win Condition
Scripts and Components
6 Lectures 29:00

Create an NPC that moves towards the player, and maintain a stopping distance. 

Preview 05:10

Create an NPC that rotates to face other objects. 

Looking at Other Objects

Complete an NPC mover that moves towards the player; maintain a stopping distance. 

Complete NPC Mover

Detect player click input for selecting objects in the scene. 

Detect Player Click Input

Generate a ray based on player input to detect object selection. 

Create Raycasts and Intersections

Determine object selection without code. 

Codeless Clicking
Coding Behaviors
4 Lectures 38:10

Create a Trigger object that allows codeless event handling for intersections. 

Preview 10:52

Builds a script to transition from one scene to another. 

Change Scenes

Create a player-controlled character. 

Player Movement

Create a player-controlled character with collision detection. 

Player Character and Physics
About the Instructor
Packt Publishing
3.9 Average rating
7,297 Reviews
52,203 Students
616 Courses
Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.