じ☆ve冰风 发表于 7 天前

MZ Cordova: How to lock to landscape orientation on Android?

So I successfully deployed my MZ game to android using Apache Cordova, but my game always comes out in portrait mode. How can I get it to start in landscape mode?

I installed the screen orientation plugin:
https://cordova.apache.org/docs/en/11.x/reference/cordova-plugin-screen-orientation/index.html

And tried editing my index.html like this guy said:

https://www.youtube.com/embed/R3Z_vZxNDiY

But it doesn't seem to work. Can someone help? Thanks!


本贴来自国际rpgmaker官方论坛作者:watermark处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/mz-cordova-how-to-lock-to-landscape-orientation-on-android.160645/
页: [1]
查看完整版本: MZ Cordova: How to lock to landscape orientation on Android?