我使用的是 marmalade 6.2 和 cocos 2.1 beta3.x.2.1。当我部署以全屏模式构建的 Windows 时,按 alt-tab 退出并返回应用程序会导致应用程序进入窗口模式。是否需要在 app.icf/其他地方设置命令/设置以确保在 Alt+ Tab 之后保持全屏?
我在下面找到了可能相关的帖子:
谢谢,
线
最佳答案
您是否检查了 WinAllowAltEnter
和 WinFullScreen
icf 设置。我想这就是您所需要的,尤其是 WinFullScreen
。
同时检查 WinFullScreen
的描述
If this is set, the display will be changed to a mode governed by WinWidth, WinHeight and WindowBpp. The surface will then cover the whole of the screen. If device does not support full screen mode with resolutions specified in WinWidth and WinHeight settings, application will start in windowed mode regardless of the WinFullScreen flag with specified resolution. Default is 0.
所以我猜你可能做了错误配置的 WinWidth/WinHeight 设置。
关于Windows alt + tab 导致窗口模式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16142454/