So I have been working on the arrangement of the GUI elements for Bashing Orcs as well as it’s functionality.
I got an asset to get a head start – I make my own GUI assets, but sometimes it’s too time consuming and detracts from the task at hand – so I picked one that had a fantasy theme and provided a bunch of the elements I needed. ( Dark Fantasy GUI is the one I used here).
I have decided that the player will have a bar with the items/spells/abilities at his disposal. On PC these are mapped onto the numerical keys for testing purposes. I’m not sure how many I will have at the end, but Unity’s new GUI system allows the addition and removal of slots to be as easy as just removing the element from the Hierarchy and the rest will update accordingly based on UI Layout components I have setup.
There you will also find the XP bar (which I’m currently figuring out how I want it to function between games), but also a Health Orb (left, red ball) and a Mana Orb (right, blue).
You can functionally swap between the already created abilities (fireball, skeleton army, stake gun etc) and the respective items consume the correct resources and update the displays, but I don’t have icons.
You can see the key mapped to each slot on it’s upper right hand corner as well.
Here I have improved the appearance of the ammo display and I have added another one on the other side. I’m thinking of the player being able to shoot one weapon, while also being able to have a second set of throw-ables available on the other mouse button or gamepad trigger.
The display is tied up to the currently active weapons and update accordingly.
I added a place in which the current wave will be displayed (at least at the beginning, I might move it to the side when it begins. I also need to make a timer display for both the wave duration and the time in between.
Finally I created a quick ‘Mana Potion’ bottle to improve the look of the pick-up, too many spheres lurking around.