
1 我在制作游戏的时候,用副屏放置“游戏工作区”。按F5运行后,左上角“挂起”按钮可以将游戏暂停。这样我可以一边用主屏继续制作,然后随时都可以观察副屏的游戏窗口。
2 但是让我比较困扰的是,游戏中运行的BGM,无法进行控制关闭。想关闭音乐,只能直接关闭整个工作区,这样操作起来非常不方便。
3 有什么办法可以让游戏挂起但是不关闭游戏区的情况下,关闭音乐吗?或者在按钮功能上,追加一个对声音的控制,可以将音乐手动关闭吗?
(1)When I am making games, I use a secondary screen to place the ‘game workspace’. After pressing F5 to run, the “Suspend” button in the upper left corner can pause the game. This way, I can continue making while using the main screen, and then observe the game window on the secondary screen at any time.
(2)But what troubles me a lot is that the BGM running in the game cannot be controlled to close. To turn off music, one can only directly close the entire workspace, which is very inconvenient to operate.
(3)Is there any way to make the game hang without closing the game area and turn off the music? Or can we add a sound control to the button function to manually turn off the music?
1私はゲームを作るとき、副画面で「ゲームワークスペース」を置いています。F 5を押して実行すると、左上の「サスペンド」ボタンでゲームを一時停止できます。これにより、メイン画面で作り続けながら、いつでもサブ画面のゲームウィンドウを見ることができます。
2しかし、私が困っているのは、ゲーム中に実行されているBGMが、制御オフにできないことです。音楽をオフにしたい場合は、ワークスペース全体を直接オフにするしかないので、操作が非常に不便です。
3ゲームを停止させる方法はありますが、ゲームエリアを閉鎖しない場合、音楽をオフにする方法はありますか?あるいはボタン機能に、音の制御を追加して、音楽を手動でオフにしてもいいですか。

