痛饮一杯苦酒 在layaAir中运行正常,发布也没有问题,但是放到微信小游戏就有问题了。微信开发者工具里提示 Cannot read property 'Common' of undefined 。我已经手动把matter.js加入了libs中。并且在game.js中加入了let matter = require("libs/matter.js");window.Matter = matter;但是依然没有解决问题
yung 参考http://ask.layabox.com/question/14497?notification_id=58173&rf=false&item_id=24260&answer_id=24260&single=TRUE#!answer_24260