Huy Minh Ha

Software development, Tech and other stuff


Wed 18 January 2017

Using Webp texture format in Unity

Posted by Ha.Minh in Unity   

Webp is a very optimized image format. It will produce smaller image size with almost the same quality as other compression format such as: ETC2, DXT5, ETC1, PVRTC. Below is some comparison between Webp and popular compression format in Unity

512x512 Image Size in KB
Original 480
ETC1 4bits 128 ...

Read more...


Mon 09 January 2017

Git branching strategy

Posted by Ha.Minh in Programming   

Branching strategy is an important part of using git correctly. Without a proper branching strategy, even with a few people in the project, you will create a mess in no time. Below is a simple branching strategy that can be applied to various situation. It is also available on github ...

Read more...


Mon 09 January 2017

Unity package management

Posted by Ha.Minh in Unity   

A robust package management system is quite important when developing in Unity. People have been asking for one in the Unity forum. The following survey will list some popular options.

Projeny The purpose of Projeny is to allow your Unity3D project to easily scale in size without heavily impacting development ...

Read more...


Thu 05 January 2017

Dither Unity textures to save memory

Posted by Ha.Minh in Unity   

The project code is here: https://github.com/minhhh/unity-texture-dither

In many cases, we want to dither textures so that we can use more compact texture import format to save memory. This project aims to provide a workflow for dithering imported texture automatically, based on settings that can be swapped ...

Read more...



Wed 28 December 2016

Finite state machine for Unity

Posted by Ha.Minh in Unity   

Finite State Machine (FSM) is an important technique in game programming. Most games that have some sort of battle will have to design an FSM for its entities. FSM can be applied in UI as well. For example, instead of using flags to enable/disable certain UI elements, we can ...

Read more...