聲音#

介紹#

聲音方法透過與 V5 大腦連接的運行 VEXcode 的電腦播放內建的 VEXcode 聲音。

以下是所有方法的清單:

操作-播放聲音。

行動#

play_vexcode_sound#

play_vexcode_sound 透過與 V5 Brain 連接的運行 VEXcode 的電腦播放內建的 VEXcode 聲音。

Usage:
play_vexcode_sound(sound)

範圍

描述

sound

要播放的聲音: “game over”。

# Play the game over sound
play_vexcode_sound("game over")