Game Maker Language リファレンス > 組み込み関数 用途別 > サウンド > audio_music_is_playing
BGMが再生中であるかどうかチェックします(非推奨)
audio_music_is_playing();
注意! この関数は非推奨です。代わりにaudio_is_playing()を使用してください
This function will check to see if a music file is currently playing, returning true if it is and false if it is not.
if !audio_music_is_playing() { audio_play_music(snd_Intro, true); }
The above code checks to see if any music is playing and if it is not, it then plays the track indexed in "snd_Intro".