Posted July 20, 2024 by KevinHall14
Author: Kevin Hall
07/19/24
The problem
This week I was in charge of getting the upgrades on the menu working and making the in-game shop menu. While doing the upgrades on the main menu I was implementing the health upgrade. When going into testing I was excited to see that the upgrade was indeed upgrading, and implementing it with the save system worked! One thing I did not notice until way later and realized that the enemy health was also being upgraded.
The solution
I went in and changed the load event to be happening on the MonkDude, by doing this I was getting the instance of the health component that was on the MonkDude. This made it so only the player would receive upgrades.