Posted December 04, 2023 by br0nco640k
Today was really productive. I added background music, with a mechanism for shifting over to more intense music during combat that will activated soon. I added sound effects for most actions. I added a framework for managing player health, which is not being used yet. Loot drops can now be collected, and are assigned a random amount of currency at drop time. Holding alt now also shows the amount of loot currency that dropped in the title.
Quite a bit more work needs to be done for combat mechanics at the moment, but that work will continue tomorrow. Hopefully soon I'll be adding some trigger for an enemy aggro state, where it begins stalking the player, and attacking the player. This will be when the more intense music loop will kick in.
The plan will be for enemy spawns to be randomly placed across the map, rather than hand placing them. I can use the same system that I built for randomly placing trees and flowers for that.