Tag: Programming

Unity Health Bar Slider

This took me way longer to discover than I thought it would. I’d implemented a UI Slider to display health (actually I’m using it as a fuel gauge but the principle remains the same) which worked fine but I wanted to change the colour as the players health/fuel reduced, and then flash if perilously low.…

Read the full article

Update to Map Creation

Putting basic blocks onto the map generated by the map creator turned out to be pretty simple. Essentially, all that is necessary is to instantiate a prefab at the location defined by the array (in coordinate multiples of 10 in my case due to the block sizes) and this is the result. The trees were…

Read the full article

Learning Unity3D

For some time I’ve considered trying out games programming. Not that I think I’ll ever create much worthwhile but it seems like a fun challenge and a decent break from my usual web app stuff. One of the hardest decisions is the first; what language/environment to use? There is an astonishing number of options (far…

Read the full article