How would I add a little pop up at the top corner of the screen saying what music is currently playing? It'd go away after a few seconds of the new track playing. Is there a plugin that already exists or would I have to code it? Thanks in advance.
Music Indicator at Corner of Screen
JS Plugin RequestsI have moved this thread from JS Plug-in Release to JS Plug-in Requests.
Everytime you change the music, such as when you enter a new map or scene, store that value (the song id, or name as a string in quotation marks) in a variable. Then use a HUD to display that variable.
E: Apparently you can use this script to get the current BGM, so just have the HUD display that.
AudioManager._currentBgm.name
SRD HUDMaker:
Thanks so much! Believe it or not, I've never been introduced to SRD HUD Maker before haha. I'll give an update to see if your solution worked.
So I got everything set up, and I input the code. But I don't think I did it correctly. It gives an error saying that the name is null. Any solutions? I checked the debug menu and it said the error was hidden. Please tell me if I set anything up wrong! Thanks.
I don't know the MZ version of SRD HUDMaker and you have half the screen hidden but I suspect you're either putting it in the wrong field and/or you shouldn't have that semicolon at the end
You could also try this MZ plugin
Music Track Name Display Plugin
Author ルルの教会 or (C) 2020 Lulu's Church from JP forums "It will display the song title when switching BGM, which is common in adventure games." [@Kupotepo, you could make the song list which allows the player to pick which music they would like to play. I am just throwing the idea out there.]...
forums.rpgmakerweb.com
AudioManager._currentBgm will return null if no music is playing, so trying to access its name will throw an error. Doing this instead should help:
Code:
AudioManager._currentBgm ? AudioManager._currentBgm.name : "Nothing"
At least assuming everything else is good; I've never used HUD Maker myself.
This plugin is amazing, and exactly what I am looking for! Thanks for finding it!
I'm gonna try and get familiar with HUD maker, before I try anymore things with it, but for now this problem is solved!
Original thread: https://forums.rpgmakerweb.com/threads/music-indicator-at-corner-of-screen.160975/