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
Get Iron Echos: Zenith's Uprising
Iron Echos: Zenith's Uprising
A Robotic Wanderer "Zenith" With corrupted memories hiding their past, they embark on a journey looking for answers
Status | In development |
Authors | Strayife, JohnIsDecent, WickedSomeone, logan21113, Xexem |
Genre | Action |
More posts
- Seth and Logan: Milestone 3 - Weapon System3 days ago
- Seth Kolb: Milestone 2 - Procedural textures and Modular Building19 days ago
- Seth Kolb: Milestone 2 - Shaders19 days ago
- Seth Kolb: Milestone 1: Level Blockout and Greyboxing19 days ago
- Seth Kolb: Milestone 1 - Player Controller Devlog19 days ago
- Lance Harrington - Milestone 2 Part 2: Questing And Dialog19 days ago
- Logan Walcutt Milestone 2: Stats21 days ago
- Logan Walcutt Introduction25 days ago
Leave a comment
Log in with itch.io to leave a comment.