2012-01-31 Health Bar

I implemented a weapon heat buildup system, where continual firing can overheat the gun.  Each gun has different rates of fire and max heat tolerances.  My wife and and I took our daughter to get her well-check and then eat lunch – so I didn’t get a lot done.  Later in the day I got a heat buildup bar working that lengthens and gets redder the hotter the gun is.  I added wall collision for mobs to prevent them from getting stuck in walls now that they have turn radii.

I got 2 mob attacks in. If a melee mob that is facing the player collides with the player it attacks.  I think I need to change it from collision to distance check.  I also got the boomer attack working.  It has a trigger radius and will detonate if the player gets too close.  It also loops through all mobs and deals damage to them based on distance.  Right now the explosion VFX is underwhelming so it’s not obvious why they are exploding.  I might need to shade the boomer red as it gets closer to the player?  I added a debug health text field in the corner.  I was having a strange bug when the mouse pointer went over the text – the reticule would fly off.  Turns out I had to disable text interaction on the text field.

I was using the same reticule from my last game, but found it hard to target enemies, so I changed it to more of a floating cross hairs.  I also changed the camera from an isometric view to more of a head on view.  I think it showcases the environment better.  I added a small dot in the UI to the reticule so even when it’s obscured with the environment or mobs, you can still see that dot.

Calling it an early night to get some rest – it’s only 11PM.  Take a look at the latest video:

Shockbots_2013.01.31

Leave a Reply

Your email address will not be published. Required fields are marked *