Inventory & Sounds - Devlog #2
Since the last post, I've added audio to the game as well as an inventory and shop system.
Audio and Inventory
The audio includes an audio manager to hold and play the audio files. Sound effects for the player and UI/store have been added, as well as the music between the dungeon and town scenes.
The player's inventory is made to persist between scenes, using DontDestroyOnLoad. It holds the list of items an the quantities in a dictionary along with the player's gold, and updates the UI accordingly. The items' information is stored in a scriptable object for simplicity's sake.
The specific enemy drops have not been implemented yet, but enemies are able to drop items on death based on the drop weight of each item.
Shop and Upgrades
The shop UI was designed by Mohit, as well as adding buttons to sell the items. The implementation was similar to the UI for the in-game inventory, which I changed it from his original implementation.
The upgrades are based on a simple abstract class. While the functions have not been implemented yet, the ability to buy them and view them in the UI are done.
Next up: implementing the upgrades and more polishing!
Get Spiritwood
Spiritwood
Demo of the combat system. Play as a hunter attempting to revitalize their town after it was abandoned.
Status | Prototype |
Authors | Jen Chen, GarethFoisy, MohitTeisus |
Genre | Action, Adventure |
Tags | 2D, Fantasy, Female Protagonist, Indie, Pixel Art, Short, Singleplayer, Unity |
More posts
- Game Update -Dev Log #3Dec 22, 2024
- The Dungeon - Dev Log #2Dec 08, 2024
- Player Controller - DevLog #1Nov 26, 2024
- Enemies - Devlog #1Nov 26, 2024
- The Dungeon - Dev Log #1Nov 26, 2024
Leave a comment
Log in with itch.io to leave a comment.