Milestone 3: Replacing UI Assets and Inventory


So Milestone 3, Replacing Art Assets and Inventory, Dialogue System with my partner Lance, and making the UI a bit prettier. I focused on the UI for the first week or so. Making the player’s health look more like a panel with a gauge for reading health. I also added a damage fade effect, so it reads the amount of damage. I did this by adding a DamageTextFader method that uses the color tool in C# and Unity to change it to a transparent color in 5 seconds!

I then made that feature into a package and pushed it into my branch. Then I pulled the new changes from my teammates into GitHub. We had troubles for a couple of days but were able to fully fix it and get to a full stable build. Now I have fully separated the UI Elements and Health Script. Now I am working on the Inventory System and then I will be working on prettifying the dialogue system.

To separate the UI elements, we had to add all the methods to another script and add a method to our state machine to make the health elements fully be called on an OnEnable and Disable script. It is fully called an Active Elements method. After fixing the UI elements by adding it to a player state machine and loading it in there. I then moved onto finishing the Inventory system. What I did was  create scriptable objects to listed into a Inventory Manager which would then add the icons and name of the item into the Inventory Box. How I organized them, I created a grid to separate them by 5 units and keep them in the center of the box. To make the inventory work and collect items within the UI, I made four scripts, InventoryManager, InventoryItemController, ItemPickup, and ItemController. InvetoryManager manages the whole of the inventory, setting the inventory prefab and where the inventory content is. It also manages the items within the inventory and in combination with the InventoryItemManager, it lists and removes items from the inventory.


Files

IronEchosWindows.rar 96 MB
10 days ago
IronEchos_Mac.rar 94 MB
10 days ago
IronEchos_Linux.rar 97 MB
10 days ago

Get Iron Echos: Zenith's Uprising

Leave a comment

Log in with itch.io to leave a comment.