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插件 声音和游戏无法同步暂停和恢复 #119

Closed Wei0809 closed 3 years ago

Wei0809 commented 3 years ago

Expected Behavior

声音跟随游戏暂停和恢复

Current Behavior

游戏从暂停中恢复后,声音无法播放

Possible Solution

sound方法是onPlay ,game里面调用的onResume

Steps to Reproduce

Environment