Skip to content

Nothing appear on iPad Air #1324

Open
Open
@SergeyOleynich

Description

@SergeyOleynich

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions