Starting an Unity3D project with GeneticSharp using dotnet new
In this post I will show how to use dotnet new command to start an Unity3D project with GeneticSharp. Introduction Sometime ago I created a NuGet package called GeneticSharp.Templates, this package allows developers to install GeneticSharp templates using the dotnet new command. Among the availables templates in GeneticSharp.Templates, there is...
Read "Starting an Unity3D project with..."
Using a Sprite Mask to create a flashlight effect
When I was reading about the Sprite Mask on Unity Manual, I questioned my self "How long does it take to create a flashlight effect using the Sprite Mask?". The answer is: less than 2 minutes. You can check this by watching the video tutorial that I made showing how...
Read "Using a Sprite Mask to create a ..."
Coding an EditorWindow to create default animations from sprites
In this tutorial, we will learn how to coding an EditorWindow that creates Animation Clips and Animator Override Controller from Sprites. Introduction Create animation clips from sprites is quite a simple operation to perform on Unity: Your browser does not support the video tag. But in many cases, you need...
Read "Coding an EditorWindow to create..."
Unity Avatar Mask and Animation Layers
In this tutorial we will learn how to use Avatar Mask and Animation Layers to combine multiple animations. Introduction Imagine we imported an animated 3D model from Asset Store, in our sample, we will use the incredible robot from the free package Sci Fi Warrior PBR HP by Dungeon Mason....
Read "Unity Avatar Mask and Animation ..."
TSP with GeneticSharp and Unity3D
In this post I will show how to use GeneticSharp and Unity3D to solve the TSP (Travelling salesman problem). Introduction According to Wikipedia “The travelling salesman problem (TSP) asks the following question: “Given a list of cities and the distances between each pair of cities, what is the shortest possible...
Read "TSP with GeneticSharp and Unity3D"
Function optimization with GeneticSharp
In this tutorial we will learn how to use GeneticSharp to optimize the inputs of math function and more about genetic algorithms meanwhile. Introduction I created GeneticSharp a long time ago because three main reasons: I needed a fast, extensible, multi-platform and multithreading C# genetic algorithm library to use in...
Read "Function optimization with Genet..."
Sending a Slackbot message from Unity3d
I was looking for a way to send a message to a Slack channel using the Slackbot API. Introduction This is a pretty easy task to perform in C#, because there are some great client libraries implementations to the Slack API, like: SlackApi, MargieBot and SlackConnector. However, in the Unity3d...
Read "Sending a Slackbot message from ..."
Creating a ConsoleMod to Buildron
In this post we’ll create a mod that adds a console window to Buildron and let you monitor its events. Our ConsoleMod will have 2 classes: ModController and Mod. ModController class ModController class will be a MonoBehaviour responsible to showing to the user a window where the Buildron events will...
Read "Creating a ConsoleMod to Buildron"
Starting a Buildron mod with a mod template
In this post I will show how to start building a mod to Buildron using a mod template. Download Download the Buildron-Mod-Template.zip from releases page. Unzip it in any folder. Creating the solution Open a prompt (win) or a terminal (linux/mac). Go to the folder where you unzip Buildron-Mod-Template.zip. Type:...
Read "Starting a Buildron mod with a m..."
Using a FxCop badge on your GitHub repository
The use of badges on GitHub repositories helps us to promote good pratices about our code. Some amazing services like the Shileds.io can generate almost all badges you can imagine, but what about those badges where there is no such online service to perform this job? One common case is...
Read "Using a FxCop badge on your GitH..."