The Cleaning Lady (and UI)

This week I had some fun cleaning up all the prototype code. I added comments, refactored code and generally simplified some stuff. I also implemented some basic managers which should make our lives a whole lot easier.

For example: I added a player manager which sets all the properties for the player, instead of having to edit values in every individual script. With tooltips added to every value, teammates should have an easier time tweaking values, as they can also check what exactly they are changing.
This is what it looks like in the editor:

I also added a health bar and a shield indicator. This should give the player more feedback. The plan is so use those same indicators for other pickups at a later time.
The health bar can be seen in the bottom right of the screen, and the shield indicator is placed in the top right, and only appears when the player has shield.

UIbars.gifThe shield indicator is supposed to be fully green, but the gif seems to have messed that up.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s