We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Fullscreen support for Mac Desktop / OS X
Fullscreen support for Mac Desktop / OS X
Feature #3798 [Closed]
- Description updated (diff)
fixed:
https://github.com/cocos2d/cocos2d-x/pull/5183
The only feature that is missing is switching back to Window mode.
We will add that feature once glfw v3.1 is released, since glfw v3.0 doesn't support it now.
Redmine issue system is closed, we are using github issue system instead.
This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8321
Status: | Closed | |
---|---|---|
Start date: | 2014-01-20 | |
Priority: | Low | |
Due date: | ||
Assignee: | - | |
% Done: | 0% |
|
Category: | mac | |
Target version: | - |
Every new app created with Xcode supports so called “FullScreen” out of the box. Just need to set NSWindow property in interface builder.
This allows to switch from windowed mode to FullScreen on another desktop workspace or another display. It is great feature, giving user better usage experience, if of course it is supported by application. Difference with other “fullscreen” modes in for example Windows x86 app (where full screen is just resized window), is that OS X fully controls window position and size, which is switched to a different workspace or display.
This is the only preffered by API, OS X way of FullScreen application experience.
At this time, cocos2d-x/OS X does not seem to support this feature. For a user, this is additional button in right upper corner of the window, that let’s him switch to FullScreen mode.
https://developer.apple.com/library/mac/documentation/General/Conceptual/MOSXAppProgrammingGuide/FullScreenApp/FullScreenApp.html
Some tips:
http://support.apple.com/kb/PH11359
http://lwjgl.org/forum/index.php/topic,4671.msg27932.html\#msg27932
http://www.cocoanetics.com/2012/11/the-lions-full-screen-mode
http://stackoverflow.com/questions/10096529/howto-is-nswindow-in-fullscreen-mode-lion-and-enabling-disabling