Friday, 26 September 2014

Unity 4.6 - Simple Tutorial, Health Bar and Damage Popup!


If you find yourself making a RPG or RTS game you will be in need of Health Bars and Damage Popups (floating text) for your units. With Unity 4.6 uGUI this is easier than ever before. However, there are some details that you can to take into account if you want to have the classic effect in your game, no matter the setup you are using.

The best news about this tutorial is that you won't even need a single asset to make a simple Health Bar or Damage Popup! This is how I implemented those in my project Northwards of Roswell and this is the result:

Fight, my minions... FIGHT! Muahahaha! >:D


Let's start already! :)

Friday, 12 September 2014

Northwards of Roswell. Update 3

Northwards of Roswell... The Movie? :)

After a lot of sweat, blood, tears and enormous amounts of self motivation, I am extremely happy to bring you the next update of Northwards of Roswell. I got really into the AI of the game and brought it to the next level with the implementation of the combat mechanics! At the moment, the combat follows the rules of traditional melee combat in 3D RTS games.

Why I spent so much time implementing this part of the game? First of all, I stopped to use the Rain Plugin. The behaviour trees didn't work for me. Sadly, the plugin is very ambitious and wants to be a all-in-all tool for your games. It proves to be useful in static situations but when you start to make complicated dynamic stuff and combine it with other systems you will need to dig into the superficial documentation they provide. Sooner or later you may find a blocking wall of errors and will decide to drop it off your project. :(

I also spent some amount of time exploring the latest Unity 4.6 Beta. I will definitively use the new gui and event system when implementing the GUI of the game. Finally I also struggled a bit trying to make a flexible enough unit system for the game based on prefabs.


The big family of hybrids in Northwards of Roswell.