Full Screen adaption for Mobile Browsers. Chrome, Safari, 360, QQ, UC.
Full Screen adaption for Mobile Browsers. Chrome, Safari, 360, QQ, UC.
- Target version changed from v2.2.1 to Unplanned
- Status changed from New to In Progress
- Assignee set to pandamicro
The FullScreen API’s implementation has been found in this commit contributed by Chen Shengxiang: https://github.com/cocos2d/cocos2d-html5/commit/74c91665be4bc852e55fb8378c6d4a2d799b5450
Based on this commit I will invoke this API on some ResolutionPolicy mode automatically for the mobile devices.
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
This feature has been added with this pull request : https://github.com/cocos2d/cocos2d-html5/pull/1325
I added an autoFullScreen function to CCScreen class and fixed some bug on CCScreen class.
For more details:
The automatic full screen feature isn’t wanted on desktop but only on mobile version, and yet not with all resolution policies. So I analyzed the need and concluded that only EqualToWindow and ProportionalToWindow container strategy is suited with this feature.
Status: | Closed | |
---|---|---|
Start date: | 2013-02-04 | |
Priority: | Normal | |
Due date: | ||
Assignee: | ||
% Done: | 100% |
|
Category: | - | |
Target version: | v2.2.2 |