eva-engine / eva.js

Eva.js is a front-end game engine specifically for creating interactive game projects.
https://eva.js.org
MIT License
1.75k stars 108 forks source link

Sound多次播放音频时不覆盖上一次播放 #33

Open glink25 opened 3 years ago

glink25 commented 3 years ago

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce

Environment

在需要快速多次点击按钮的场景,需要每次点击后都播放完整玩点击音效,可以为Sound.play方法添加uncover参数,为true时不打断上一次播放