How to Train a Machine Learning Agent via Demonstration

Whenever a human learns a new subject, whether it be a musical instrument or a new language, there’s always a theme of “trial and error.” Attempting to get the correct finger placement on the violin or correct pronunciation of a foreign word oftentimes involves getting it wrong several times over. This is a well-known way … Read more

How to Make AIs Target Objects with Unity ML Agents

a gif of the first training attempt

Introduction We often hear in the news about this thing called “machine learning” and how computers are “learning” to perform certain tasks. From the examples we see, it almost seems like magic when a computer creates perfect landscapes from thin air or makes a painting talk. But what is often overlooked, and what we want … Read more

An Introduction to Unity’s ML-Agents

An Introduction to Unity's ML-Agents

 Introduction Okay. So you’re a budding computer science enthusiast and you’re trying to make an AI that will take over the world. You do your research and find out about this thing called “machine learning.” You’ve seen several impressive demonstrations of machine learning technology so you decide that this is the tool you’re looking for. … Read more

Mastering Unity’s New Tilemap Editor: Building 2D Levels

Introduction In October of 2017, Unity Technologies released Unity 2017.2. This version released a new tool called the Tilemap Editor, which not only allows the user to create vast and complex grid-based layouts in a matter of minutes, but also eliminates the need for a third party program (such as Tiled) to create a similar … Read more

A Guide to the Unity Animator for 2D Characters

A Guide to the Unity Animator for 2D Characters

Introduction What is it that an animator does? What summary can we give that would accurately describe the operations an animator performs? Is an animator an artist illusionist? Is he a virtual puppet master? What about video game animators? Are they much different from a pen-and-pencil animator? I would say that when it comes to … Read more