每次播放都会导致我的屏幕尺寸改变 [英] everyplay causes my screen size change

查看:75
本文介绍了每次播放都会导致我的屏幕尺寸改变的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在xcode下使用过的cocos2d-x(版本:"cocos2d-2.1beta3-x-2.1.1")

used cocos2d-x(version:"cocos2d-2.1beta3-x-2.1.1") under xcode

我设置了

CCEGLView::sharedOpenGLView()->setDesignResolutionSize(960, 640, kResolutionShowAll) 

使我的游戏适合不同的设备.启用Everyplay效果后,我的屏幕大小将自动更改,仅在真实计算机上进行测试时才会发生,但在使用kResolutionExactFit时却没有此类错误.但是,我需要使用kResolutionShowAll.使用iphone4可以很好地工作,但是使用ipad和iphone 5(我认为除屏幕尺寸为960 * 640以外的所有设备)都存在上述错误

to make my game fit different devices. With Everyplay effect on, my screen size will change auto, only happened when test on real machine, but no such bug when I use kResolutionExactFit. However, I need to use kResolutionShowAll. With iphone4 it works all well,but with ipad and iphone 5(I think all devices except screen size is 960*640) have the bug above

推荐答案

此问题已在Everyplay v1.6.3.中修复.

This issue has been fixed in Everyplay v1.6.3.

这篇关于每次播放都会导致我的屏幕尺寸改变的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆