Skip to content

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

@khiav223577

Description

@khiav223577

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);

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions