Sergio Flores

April 12 2017 | 12:00 AM

Custom Sprite Sorting


2D in Unity


It's common to hear that Unity is 'bad for 2d'.
But that is completely false, at best, you can say that Unity's current support for 2D games it a bit lacking, but since Unity is very easy to extend, nothing forbids you from getting something working nice in 2D.

A major question is how to do sorting of sprites in a intuitive way. Meaning, can we define sprites ordering by...

Read more

Tags: #coding #graphics #tutorials #unity3d

Follow me on Twitter for more cool stuff!

Sergio Flores

August 11 2017 | 12:00 AM

Pixel perfect rendering in Unity




It's common to find developers frustrated with pixel art in Unity, at first, it seems so difficult to get the sprites to render as pixel perfect, right?
So I decided to write a short guide, with all things that you need to setup in order to get this working without using any third-party assets!

First, let's make sure all our sprites in Unity have...

Read more

Tags: #graphics #tutorials #unity3d

Follow me on Twitter for more cool stuff!

Sergio Flores

September 14 2017 | 05:20 PM

How Skeletal Animation Actually Works


In this post I'm going to try to explain properly how Skeletal Animation works, mostly in the context of Unity, although I'm going to present the general algorithms that lets you implement it in any engine.

A simple way to Animate
Let's assume that you already know the basics about a 3d Model in the context of a game engine.
A model has some vertices, which when connected we get triangles describing the...

Read more

Tags: #coding #graphics #tutorials #unity3d #math

Follow me on Twitter for more cool stuff!