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 more

dotnet new templates for GeneticSharp

Now GeneticSharp has a NuGet package called GeneticSharp.Templates, this package allows you to install GeneticSharp templates using the dotnet new command. Installing the GeneticSharp.Templates Before you can use the dotnet new command to create the GeneticSharp projects from templates, you need to install it on your machine: dotnet new -i...
Read more

GeneticSharp v2.4.0 - New crossovers and TPL implementations

The GeneticSharp v2.4.0 is out. The additions of this version are the two new crossovers implementations and a new option of ITaskExecutor that use TPL. Crossovers Alternating-position (AP) The alternating position crossover operator (Larrañaga et al. 1996a) simply creates an offspring by selecting alternately the next element of the first...
Read more

jogosdaqui - um pouco de história, open source e colaboração (pt-BR)

Muitos não sabem, mas além de programar, sempre gostei de ajudar a divulgar a indústria brasileira de desenvolvimento de jogos. Criação do jogosdaqui Em 2005, junto com mais 3 amigos, foi fundado o site jogosdaqui, que era um site especializado em falar sobre os games desenvolvidos por empresas brasileiras. Esse...
Read more

GeneticSharp v2.2.0 - Sudoku sample

The GeneticSharp v2.2.0 is out. The additions of this version are the new whole sample and extensions showing how to use GeneticSharp to solve a Sudoku. The GeneticSharp.Extensions project receive those new features: Multiple MultipleChromosome Compound chromosome to artificially increase genetics diversity by evolving a list of chromosomes instead of...
Read more

GeneticSharp v2.1.0

The GeneticSharp v2.1.0 is out. Features Add constructor with values to FloatingPointChromosome #33 As it is now whenever you create an instance of FloatingPointChromosome, it will randomly create gene values. I have a case where I need to stop optimization at some time, save results to DB and resume it...
Read more

GeneticSharp Unity3d Samples released on Google Play

I published on Google Play the GeneticSharp Unity3d Samples. In this app you can see GeneticSharp running on Unity3d in three different samples: Car2D Based on famous BoxCar2D, this sample uses a genetic algorithm to create car designs to overcome road challenges, like gaps, hills, and obstacles. TSP The classic...
Read more

GeneticSharp Car2D

I made an Unity3D sample for GeneticSharp inspired by amazing BoxCar2D where a genetic algorithm tries to design 2D cars to overcome roads challenges. Introduction I was always amazed by the 2D cars designed by BoxCar2D and see how genetic algorithm make new and (probably) better cars each new generation...
Read more

GeneticSharp - Unity3d sample

I just pushed to GeneticSharp master branch the GeneticSharp.Runners.UnityApp. In this Unity3d project there are 3 samples: Car2D Based on famous BoxCar2D, this sample uses a genetic algorithm to create car designs to overcome road challenges, like gaps, hills, and obstacles. A post explaining this sample in detail will be...
Read more

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 more

GeneticSharp v2.0.0 - .NET Core

The GeneticSharp v2.0.0 is out with support to .NET Standard 2.0 and .NET Framework 4.6.2. Introduction In march GenetichSharp start to support .NET Standard 2.0 in the 2.0.0-rc version. Two months have pass and in the meanwhile the community have time to test that release candidate version and now Unity3D...
Read more

DocsByReflection v1.0.13 - .NET Standard 2.0

The DocsByReflection v1.0.13 is out. If you don’t know what is DocsByReflection or what you can do with it, take a look in my previous post about it “Getting your code documentation at runtime”. .NET Standard 2.0 and .NET Framework 4.6 In this version DocsByReflection starts to support .NET Standard...
Read more

Porting GeneticSharp to .NET Core

The GeneticSharp v2.0.0-rc1 is out. In this version GeneticSharp starts to support .NET Standard 2.0 and .NET Framework 4.6.2. Porting to Introduction Sometime ago I started to porting GeneticSharp to .NET Core and today, after more than 40 hours of work, I finally finish it. Although GeneticSharp born as a...
Read more

GeneticSharp v1.2.0 - Sequence mutations

The GeneticSharp v1.2.0 is out. The additions of this version are the new sequence mutation operators: Displacement, InsertionMutation and Partial Shuffle (PSM). Displacement Mutation: a substring is randomly selected from chromosome, is removed, then replaced at a randomly selected position. Insertion Mutation: a gene is randomly selected from chromosome, is...
Read more

Unity3D ScenePreview inspector

I’m working in a new game prototype and in this process I was creating some experimental levels to test the mechanics, but by the name of scene I was having dificult to remember which mechanic the level was about and I had to open each level to discover that one...
Read more

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 more

GeneticSharp v1.1.0 - Binary chromosomes

The GeneticSharp v1.1.0 is out. The greatest additions of this version are the binary chromosomes: FloatingPointChromosome and IntegerChromosome. Binary chromosomes can be directly used when your solution chromosome can be represented as numbers or a string representation of 0 and 1. A new sample has been added to the GeneticSharp.Runner.GtkApp,...
Read more

Buildron 2.0.0

After some months to test the v2.0.0-RC1 we are releasing the final version of Buildron mods support with this 2.0.0 version. Mods supports represents a great change in Buildron code structure, because we built a mods support that allow any developer add his own mods to Buildron. Mods available The...
Read more

Buildron SlackBotMod

Buildron is a build radiator to help software development teams to see the current status of their continous integration server and Slack is the omnipresent communication app for almost every developer in the world. For these reasons, I made a mod called Buildron.SlackBotMod that let you interact with Buildron through...
Read more

Sending a Slackbot message from Unity3d

I was looking for a way to send a message to a Slack channel using the Slackbot API. 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 world...
Read more

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 more

jumpstart

I present to you my newest tool… jumpstart is a command-line tool to create new C# projects from prebuilt/templates. As an experienced developers it’s very common we have some kind of template solution when we start a new project. Maybe it’s the latest project we work on, maybe it’s a...
Read more

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 more

Buildron 2.0.0-RC1 - Mods support

After some months of hard work I finally released the Buildron mods support. This Buildron 2.0.0-RC1 represents a great change in Buildron code structure, because we built a mods support that allow any developer add his own mods to Buildron. Hope to see you building some mods to Buildron. We’re...
Read more

Testing js-dos

Recenlty I discovered the project Emscripten: Emscripten is an LLVM-to-JavaScript compiler. It takes LLVM bitcode - which can be generated from C/C++, using llvm-gcc (DragonEgg) or clang, or any other language that can be converted into LLVM - and compiles that into JavaScript, which can be run on the web...
Read more

Buildron - Your builds, our world! ...and now our open source code too

Buildron is a build radiator to continuous integration server like TeamCity, Jenkins and Hudson. We’ve built it as a Skahal’s product and now we decide to open source it: http://github.com/skahal/buildron. You can run it on Windows, OSX and Linux: https://github.com/skahal/Buildron/releases There is a remote control app too (Windows, OSX, Linux,...
Read more

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 more

Auto tracking your time with ControlPlane + Toggl

So, do you want to track the time you spend in some tasks, but always forget to start the time tracking? I love to used Toggl.com to time tracking and a few days ago I discovered another amazing app to OSX: ControlPlane. ControlPlane, in few words, is an app that...
Read more

Getting your code documentation at runtime

In some situations, like generate a live console for a web api or generate code using T4 template we need a way to read the code documentation at runtime. Some time ago I’ve faced that situation again and I thought: “Should be an easy way to read this code documentation!”....
Read more

Improving your debug with DebuggerDisplay

There is an amazing and easy to use custom attribute on .NET Framework stack that I rarely see in use. It helps and improve the way you can debug your code and you just need a line of code to use it: DebuggerDisplay. Maybe you’ve used it a lot and...
Read more

Using sensitive data on your Travis CI build

You have programmed an amazing functional tests to validate your infrastructure service that connect on Google Docs. These functional tests run perfect well on your development machine and now you want to run them on Travis CI, but how to do this without reveal your Google’s username and password worldwide? Travis...
Read more

Why we should avoid DateTime.UtcNow inside a Linq to Entities query?

Because we can get unexpected results! (after read this tip, will be expected results ;)) What is the diference between these two Linq queries? Query 1 var filterDate = DateTime.UtcNow; ctx.Set.Where(m => m.DateTime > filterDate); Query 2 ctx.Set.Where(m => m.DateTime > DateTime.UtcNow); The first one will generate a SQL with...
Read more

DDD by quotes

The Eric Evans’ book “Domain-Driven Design - Tackling Complexity in the Heart of Software” is like a Bible for who intend to use DDD, so, I guess that some quotes of the book can help us to validate our DDD approach. The list below is just a “check-point list”, because,...
Read more

Nibble

Looking in some backups I found one of my first games. I made it about 14 years ago: a Nibble in 461 lines of C. I push the source code and binary files to a GitHub repository: https://github.com/giacomelli/Nibble
Read more
Follow @giacomelli
Tutorials

News

Articles

Labs