加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

cocos2d v3 fixed size screen mode

发布时间:2020-12-14 21:06:07 所属栏目:百科 来源:网络整理
导读:// Use v3's new fixed size screen mode to make it easier to support multiple device scales and resolutions.// It sets up Cocos2D with a 568x384 point "design size".// On iPhone 4 you see the middle 480x320 of it and the rest is cropped.//
// Use v3's new fixed size screen mode to make it easier to support multiple device scales and resolutions.
// It sets up Cocos2D with a 568x384 point "design size".
// On iPhone 4 you see the middle 480x320 of it and the rest is cropped.
// On iPhone 5 you see the middle 568x320 of it.
// On iPad you see the middle 512x384 of that. (It sets the iPad's content scale to 2 or 4 for retina)
CCSetupScreenMode: CCScreenModeFixed,

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读