Lessons

Explore all newline lessons

Tags
Author
Pricing
Sort By
Video
Most Recent
Most Popular
Highest Rated
Reset
NPC patrol

lesson

NPC patrolUnity for Beginners - Animal Crossing

In this module, we will be creating a system for a NPC (non-player character) to work around the game world intelligently using Unity's navigation system.

Colliders in Unity3D

lesson

Colliders in Unity3DUnity for Beginners - Animal Crossing

Colliders are invisible shapes on 3D objects that handle collisions. A collider can be added to a GameObject as a component, just like the Rigidbody component.

Unity physics system

lesson

Unity physics systemUnity for Beginners - Animal Crossing

You might hear the word "physics" thrown around a lot in game development, so let's go over what physics means in Unity. In the real world, objects are affected by gravity, friction, collisions, weight etc. Likewise in a game, objects are also affected by the forces of physics.

Third person movement

lesson

Third person movementUnity for Beginners - Animal Crossing

In this module we'll be learning about a few fundamental concepts such as Rigidbody and colliders, which will assist us in making our character move. We'll also learn how to add animations to our character.

Transform class and component in Unity

lesson

Transform class and component in UnityUnity for Beginners - Animal Crossing

The transform component is attached to every object in Unity. The transform components hold the x, y and z values for the position, rotation and scale properties of an object in respect to the game world co-ordinate system, or the parent object of child components.

Vectors

lesson

VectorsUnity for Beginners - Animal Crossing

Understanding vectors is useful before we start making games. A vector is basically a quantity which has a direction. Vectors are useful and are used a lot in Unity. They're used to store the x, y and z values of components such as transform, rotation and scale. We cannot store these values together in a general variable. We need to use vectors for that.

Classes

lesson

ClassesUnity for Beginners - Animal Crossing

C# is an Object-Oriented Programming language in which the programmer can develop software in modules. This is accomplished through treating data as **objects**. A class is like a blueprint or template of a specific object in which its properties, fields, events and methods are specified.

Functions

lesson

FunctionsUnity for Beginners - Animal Crossing

A function groups together code statements to perform a specific task. Whenever a function is called, all the code statements inside that function will execute.

Loops

lesson

LoopsUnity for Beginners - Animal Crossing

You can execute a statement or block of code multiple times using loops. This is called iteration.

Conditional statements

lesson

Conditional statementsUnity for Beginners - Animal Crossing

Imagine if your code could do different things based on different conditions. Well, it can! Using conditional statements we can control the flow of our programs.

Arrays

lesson

ArraysUnity for Beginners - Animal Crossing

Arrays are a collection of values of the same data type. They are extremely useful data structures and help us write more complex code.

Comments

lesson

CommentsUnity for Beginners - Animal Crossing

Comments help to document your code and inform the intent of your code.