In earlier parts of our series, we only implemented 6 different stats on our player. Vampire Survivors, however, has many more stats than that, so in Part 15, we created a newer way to manage stats that made it easier for us to add more stats in the future.
In this part, we are going to add these stats, and create a new, dynamic, and extremely easy-to-use UI element that will automatically update itself whenever we add new stats, so we don't have to create a new UI setup whenever a new stat is added.
Ever wanted to create a game like Harvest Moon in Unity? Check out Part 24 of our guide here, where we set up the NPC Movement. You can also find Part 23 of our guide here, where we went through how to set up NPC routines.
Update 18 February 2024: Added a new section to fix a bug with the health bar not updating after picking up a health potion.
If you've been following our series for some time, one thing that you will be aware of is that our pickup system is a little janky, because sometimes our items will miss the player if he is moving too fast, or moving at an odd angle (thanks to g Dni for pointing this out).
After the previous part, where we revamped the weapon system, we will be fixing some bugs with our weapon system. Following that, we will be creating some of the more commonly-seen weapons in Vampire Survivors.
Ever wanted to create a game like Subnautica? Check out Part 11 of our Underwater Survival Tutorial Series! In this part, we’ll be setting up new Gear Items that the Players can use, like flippers and oxygen tanks.
Ever wanted to create a game like Harvest Moon in Unity? Check out Part 23 of our guide here, where we set up NPC Routines. You can also find Part 22 of our guide here, where we went through how to set up chicken growth and speech bubbles.
Ever wanted to create a game like Harvest Moon in Unity? Check out Part 22 of our guide here, where we set up chicken growth and speech bubbles. You can also find Part 21 of our guide here, where we went through how to set up animal relationships.
Ever wanted to create a game like Harvest Moon in Unity? Check out Part 21 of our guide here, where we set up the Animal Relationship system. You can also find Part 20 of our guide here, where we went through how to make chickens wander in the coop.
Ever wanted to create a game like Subnautica in Unity? Check out Part 10 of our Underwater Survival Tutorial Series here, where we set up Underwater Effects as well as adding animations to our Player!
This part of Vampire Survivors has been 2 months in the making, and it contains enough content to be split into 3 or 4 parts. Nevertheless, I decided to release it as a single part because there was no natural place I could split this part into.
This part contains a lot of advanced coding concepts that can help you take your programming to the next level if you've been following our series, because it contains a lot of reorganising of code to make our game easier to manage. At higher levels, good coding is often a matter of organisation rather than knowledge, because organising your codebase well will allow you to very easily create new content; and a poorly-organised codebase will be hell to work with when you create a lot of content. Hence, this part will be very helpful to those of you looking to take your coding skills to the next level.
In Part 15 of the Vampire Survivors series, we will be covering the rework of the weapon system so that it will be more flexible and intuitive to use. In essence, we are making the weapon system more integrated, so that our weapon data files will not be spread across multiple prefabs and data files:
Our weapon data for different levels was spread across multiple files, making them hard to manage.
Instead, we want all our level data, as well as our weapon evolution data, to all be kept within a single data file:
We want all our data to be contained within a single file.