- Creator 版本:2.1.1
打包android 程序时,选择设备方向为横屏 ,但是在系统生成的 settings.js 中 orientation 为空
1.9.2 ,遇到同样的问题,纯竖版游戏,setting.js中的 orientation 是空字符串
builder.json:
"orientation": {
"landscapeLeft": false,
"landscapeRight": false,
"portrait": true,
"upsideDown": false
},
settings.js 片段
},
orientation: "",
debug: true,
md5AssetsMap: {
已经查清楚,不是Creator192 的问题,是因为项目把 webOrientation 设置成了auto 导致的。