Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17076

VisibleSize not the same as size of display?

$
0
0

@nichlaspro132 wrote:

Hi again!
Why is my visible size not correct?

CCLOG("visiablesize x: %f y: %f", visibleSize.width + origin.x, visibleSize.height + origin.y);

Output:
visiablesize x: 453.333313 y: 320.000000
2016-04-15 15:15:32.311 TMXer-mobile[912:133289] cocos2d: surface size: 1024x768

Resolution policy: NO_BORDER

Thank you

Posts: 11

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 17076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>