if (this.gopherType == GopherType.Gopher) {
console.log("++++++++++++++++++地鼠++++++++++++++++",this.taperPlayer.clip);
//++++++++++++++++++地鼠++++++++++++++++ res/raw-assets/resources/audio/taper.mp3
this.taperPlayer.play();
this.game.incrScore(GameConfig.gopherScore,1);
} else {
console.log("++++++++++++++++++地雷++++++++++++++++",this.minePlayer.clip);
//++++++++++++++++++地雷++++++++++++++++ res/raw-assets/resources/audio/mine.mp3
this.minePlayer.play();
this.game.decrScore(GameConfig.mineScore);
}
微信小程序里手机里才会出现这种状况。
发现打地鼠时,日志显示也是打的地鼠,但是声音却是地雷爆炸的声音。到第2或者第3关就会出现错误音效播放。