如何增加添加不同机型调试或者分辨率来调试呢

如何添加呢

顶一下

这个我改过 我去找找看还能不能找到

/Applications/CocosCreator.app/Contents/Resources/static/preview-templates/boot.js

// init device resolutions
var devices = [
{ name: ‘IPhone X’, width: 375, height: 812, ratio: 3 },

添加就可以了 还可以加很多自定义的分辨率

引擎安装目录/static/preview-templates/boot.js 打开,你会有惊喜

1赞