tutorial

Step-by-step programming and game dev tutorials.

Importing .NET Libraries Into Unity 3D
Importing .NET Libraries Into Unity 3D
· ☕ 1 min read
You can import .NET Libraries into Unity in order to expose additional functionality in your game. In this video we’re going to build a basic demonstration of this feature by creating a brand new .

Exploring Gui.cs - Custom Terminal UI's in .NET
Exploring Gui.cs - Custom Terminal UI's in .NET
· ☕ 2 min read
Gui.cs is a library put together by Miguel de Icaza that allows you to compose complex Terminal UI’s using a collection of View components such as Windows, Buttons, ListViews or Labels.

Building Boids in Unity 3D
Building Boids in Unity 3D
· ☕ 2 min read
Boids are a type of basic AI that can simulate the flocking movement of birds using a few simple rules:

Calculating Dice Sides From A Mesh's Normals
Calculating Dice Sides From A Mesh's Normals
· ☕ 2 min read
Today I wanted to take a closer look at an older video where we built a dice roller that used Dot Products to determine which face on a dice was rolled.

Dynamic Game Speed - Unity Quick Tip
Dynamic Game Speed - Unity Quick Tip
· ☕ 1 min read
You are able to modify the speed of most objects, animations and physics using a single value: Time.timeScale. Modifying this value from it’s default (1) causes the game to run slower (values less than 1) or faster (values greater than 1).

Using C#'s Yield Keyword
Using C#'s Yield Keyword
· ☕ 2 min read
C#’s Yield operator allows you to define enumerable sets which can be dynamically generated and are lazily evaluated. This enables a number of fun things that would be difficult otherwise such as infinite lists.

Turning Circular Pixels Into Diamond Pixels
Turning Circular Pixels Into Diamond Pixels
· ☕ 2 min read
In previous videos we’ve built a pixel shader that renders circles instead of the traditional squares. You can rotate the pixels so that the circles can be oriented at any angle to one another.

Learning The .NET Core Command Line
Learning The .NET Core Command Line
· ☕ 2 min read
How do you start a new .NET Core project from the command line? How do you learn how to use the commands and figure out what is available for you?

Building and Drawing a Graph in Unity using Gizmos
Building and Drawing a Graph in Unity using Gizmos
· ☕ 2 min read
Unity’s Gizmos can be a really powerful way to debug your objects and relationships. In this video we’re going to be focusing on drawing a graph, a set of nodes and edges with unique characteristics.

Modifying Vectors with Matrices
Modifying Vectors with Matrices
· ☕ 2 min read
Matrices are an extremely powerful tool when working with vectors. They’re the magic that makes a lot of the code in our shaders work, but they also work in a lot of handy other places.

Mouse Following Top-Down Space Ship Controller
Mouse Following Top-Down Space Ship Controller
· ☕ 2 min read
Lets make a top down controller that plays a bit more nicely with the mouse. This will allow us to direct our ship by having it move towards the mouse instead of requiring the controller or keyboard input we have required up to this point.

Running a Minecraft Server in Docker
Running a Minecraft Server in Docker
· ☕ 2 min read
There are a number of ways to setup and run a Minecraft server (or any server for that matter).

Rigidbody Top-Down Spaceship Controller
Rigidbody Top-Down Spaceship Controller
· ☕ 1 min read
We have a spaceship that can fly around, but we have a problem. It can fly through things. Lets fix that by changing our current transformation modification into physical forces on a rigidbody!

Using Var - Implicitly Typed Fields - Quick Tip
Using Var - Implicitly Typed Fields - Quick Tip
· ☕ 2 min read
C# is a statically typed language meaning you must specify what type your variables are when declaring them. These types are verified by the compiler as you build your project.

Inline Initializing C# Dictionaries - Quick Tip
Inline Initializing C# Dictionaries - Quick Tip
· ☕ 1 min read
C# allows you to seed data into your dictionary when it’s constructed by using an initializer function that accepts a series of key, value pairs after its constructor that causes those elements to be automatically inserted into your Dictionary’s for you.