Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Music can't be randomized #27

Open
IndigoGems opened this issue Dec 28, 2019 · 7 comments
Open

Music can't be randomized #27

IndigoGems opened this issue Dec 28, 2019 · 7 comments

Comments

@IndigoGems
Copy link

I have more than 1 and it's choosing one but does not alternate between the other songs.

@mmatyas
Copy link
Owner

mmatyas commented Jan 8, 2020

Hi, sorry for the late reply. Do you mean that when you start a game, a random song is selected and that keeps playing without change? Yes, at the moment that's how it works, but perhaps in the future an option for randomizing while playing could be added.

Or you mean when you start a game it's always the same song that gets selected? This doesn't seem to happen to me, but I'm asking just in case.

@IndigoGems
Copy link
Author

The in-game music plays only one song. It seems to choose only one of the set of music and keeps playing that one.

@ItsIgnacioPortal
Copy link

Since @mmatyas wasn't able to replicate the issue, I suggest you check the file names of the songs you have introduced. Maybe the game isn't able to select other songs because they have special characters, or even weird UNICODE characters.

PS:How do you change the game's music? I've never tinkered with it

@mmatyas
Copy link
Owner

mmatyas commented Jan 15, 2020

@comslime Is it always the same music? Ie. when you restart the program or start a new game, it is always exactly the same music playing? There is no music change during the gameplay, but there is a random selection when you start a new game.

@PinkDev1 you can put music into data/themes/[themename]/music/[musiccategory]/, then one of them will be randomly selected when you start a game or go to the menu. It should be Unicode-friendly, but feel free to report if you run into troubles.

@IndigoGems
Copy link
Author

I put music in

music/gameplay (6 items that only have UpperLowercase English letters and numbers. All MP3)
music/menu (Same with gameplay. 1 OGG, 6 MP3)

It's always the same. I'm really confused.

@mmatyas
Copy link
Owner

mmatyas commented Jan 20, 2020

Just to make sure, so out of the 7 music files, one and only one is played every time (let's call it X.mp3), in every game even after restarting OpenBlok, and the other 6 files have never ever been played in game. Is this correct? Is this file the default gameplay.ogg file?

@IndigoGems
Copy link
Author

For both gameplay and menu yes. I've tried the Puyo Puyo theme and got the same result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants