我用construct 2做了一个游戏,并将它移植到firefox操作系统上。我想在默认的横向模式下玩它。当我在肖像模式下玩它的时候,我看到黑屏上下颠簸。需要帮助。
发布于 2014-05-08 00:04:11
您可以使用JavaScript在横向环境中强制启动应用程序
screen.lockOrientation('landscape');欲了解更多信息,请访问https://developer.mozilla.org/en-US/docs/Web/API/CSS_Object_Model/Managing_screen_orientation#Preventing_orientation_change。当然,您需要使您的游戏适应新的视区。
https://stackoverflow.com/questions/23520969
复制相似问题