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
· ☕ 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
· ☕ 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
· ☕ 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
· ☕ 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
· ☕ 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
· ☕ 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
· ☕ 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
· ☕ 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
· ☕ 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
· ☕ 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
· ☕ 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.

Inline Initializing C# Lists - Quick Tip
· ☕ 1 min read
C# includes a method for initializing Lists that means you do not need to repeatedly Add("foo") throughout your code.

Interpolated Strings in C# - Quick Tip
· ☕ 1 min read
C# has the ability to build strings in a number of ways. The simplest is concatenating them, but it’s not always the easiest or best solution depending on what you’re making.

Top Down Following Spaceship Controller
· ☕ 1 min read
Now that we have a spaceship controller that can take a direction input and turn that into movement we can start to play around with it.