jalvarez2016 / Crow-Shrine

2 stars 0 forks source link

Add music manager #23

Closed jalvarez2016 closed 5 months ago

jalvarez2016 commented 5 months ago

This adds a singleton, which is a node that is automatically added on the game starting. The singleton plays a random track from it's categories when a specific function is called. The tracks are organized based on where they'll be used, you can also just add another node to the parent node that controls the tracks in that category if you want to add a track.

The categories are as follows in the image image

Given the current state of the game, we're only using the Town, FightArea, and Intro categories at the moment. In the future we'll have add a boss one that takes specific boss names or identifies to have bosses assigned specific tracks