Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nothing appear on iPad Air #1324

Open
SergeyOleynich opened this issue May 26, 2015 · 0 comments
Open

Nothing appear on iPad Air #1324

SergeyOleynich opened this issue May 26, 2015 · 0 comments
Labels

Comments

@SergeyOleynich
Copy link

I have old project and it use cocos2d iPhone. It works fine on iPhone 4S, 5S, 6, 6Plus and iPad 2. Also it works on iPad 3 and iPad Air but no images appear but buttons which uses CCLabelTTF work but label not appear. What it may be?

CCMenuItem *newGameButton =
[CCMenuItemLabel itemWithLabel:[CCLabelTTF labelWithString:@"PLAY" fontName:@"Arial Rounded MT Bold" fontSize:30.0] target:self selector:@selector(newGameClicked:)];

    newGameMenu = [[CCMenu menuWithItems:newGameButton, nil] retain];
    [newGameMenu alignItemsVertically];
    newGameMenu.position = ccp(lrintf(CGRectGetWidth([[UIScreen mainScreen] bounds]) / 2), 120);

    [self addChild:newGameMenu];

And this label not appear only on iPad with retina display

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants