Creating a Rogue-like (like Vampire Survivors) in Unity — Part 19: Upgrading the Level-up UI

This article is a part of the series:
Creating a Rogue-like Shoot 'Em Up (like Vampire Survivors) in Unity

12 May 2024: The article has been updated with some new content. The updated sections are labelled in boxes like these below.

While working on the next part of the Vampire Survivors series, one of our Patrons reported a bug with our weapon upgrade UI system in this forum topic. Basically, if you already have the maximum number of weapons / passives in your inventory, the level-up UI will still continue to give you new weapons / passives as upgrade options. These upgrade options, however, are unselectable, because the function that is fired when they are clicked on will fail, as the PlayerInventory will fail to add the item.

What began as (what I thought was) an easy bug fix became an entire part in the series, because the bug fix turned out to require a bigger overhaul on our scripts than I expected.

Hence, we have this part of the tutorial series.

To view this content, you must be a member of Terresquall's Patreon at $5 or more
Already a qualifying Patreon member? Refresh to access this content.

Leave a Reply

Your email address will not be published. Required fields are marked *

Note: You can use Markdown to format your comments.

This site uses Akismet to reduce spam. Learn how your comment data is processed.