52ky 发表于 2022-11-9 14:26:57

Android研究院之游戏开发太鼓达人游戏(十一)源码

同学们在玩游戏的时候应该都会发现游戏中会有两种方式来播放音乐,一般设置选项中会明确标明设置游戏音乐与设置游戏音效。客观的分析一下这两种方式的音乐,游戏背景音乐一起只会播放一首也就是说两首背景音乐不会一起播放,除非一首播放结束或许切换场景等才会播放下一首。而游戏音效比方主角与敌人挥动兵器的声响被
中的声响等,这些声响比较短而且播放很频频很有可能会一起播放游戏音效。

(When playing the game, students should find that there are two ways to play music in the game, and the general setting options will clearly indicate setting game music and setting game sound effects. Objectively analyze the music of these two methods. Only one game background music will be played together, that is, the two background music will not be played together. The next one will be played unless one song is played or the scene is switched. The sound effect of the game, for example, the sound of the hero waving weapons with the enemy, is
These sounds are short and play frequently. It is likely that the game sound effects will be played together.)




页: [1]
查看完整版本: Android研究院之游戏开发太鼓达人游戏(十一)源码