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

BGM should not be played before ME when calling me_play and bgm_play together #234

Open
khiav223577 opened this issue Dec 11, 2020 · 0 comments

Comments

@khiav223577
Copy link

I call me_play and bgm_play in order. It is expected to play the ME first, and then play the BGM when the ME stops.
It works in RPG Maker XP. But in mkxp, sometimes BGM will briefly play and then stop in less than one second.

Audio.me_play(prelude_name, 80, 100)
Audio.bgm_play('bgm_name', 80, 100)

I guess it is because ME is checked for every 10ms. In between every checks, BGM may play.

SDL_Delay(AUDIO_SLEEP);

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

No branches or pull requests

2 participants