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.
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).
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.
Lets get started building MC Clone a new plugin/mod for minecraft servers running spigot that will allow players to create duplicate parts of the world with different settings.
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.
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.
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.
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.
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!
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.
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.
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.