The Item Tutorial


Following in suit of last weeks work load, I spread my reach to many different smaller tasks rather than one large task. The biggest feature that I had tackled this week was the item tutorial feature in the pause menu. Some things that needed to be done for this task include: importing .mp4 videos to be played in the UI, managing unlocked status of items, effectively reusing assets.

In terms of reusing old assets, the shop UI has proven to be a great baseline for a handful of features that we have in the game. Reutilizing the shop UI for the item tutorial UI allowed me to have a centered list of items that recenters itself based on the quantity of items within. It also had OnHover functionality for the entries to tell the videoplayer when to play a new clip. Speaking of rendering videos, this was something I had never done in Unity before. It did not end up being too difficult, but I learned a lot about resolution settings and adjusting the physical video player itself. Lastly, managing the unlocked status of items was made easy enough with the systems we have in place for the game manager and player. Accessing the players active items is as easy as accessing a bool from another class. Using this, I was able to accurately display tutorials only for items the player has unlocked.

Files

Disavowed EXE 106 MB
Nov 01, 2022