Need some information about using cocos2d in iPad.

Posted by srikanth rongali on Stack Overflow See other posts from Stack Overflow or by srikanth rongali
Published on 2010-06-12T09:37:28Z Indexed on 2010/06/12 9:43 UTC
Read the original article Hit count: 313

Filed under:
|
|

Hi, I need some information about using cocos2d in iPad.

Can we use 2048x2048 sprite sheets ? I read in this form that we can use but with limitation not more than 3 or 4 sprite sheets. But, I have 10 animations in my game. maximum of 4 animations run at a time.

Can we use the CCDirectors in AppDelegate in the same way as we use in iPhone ?

if( ! [CCDirector setDirectorType:CCDirectorTypeDisplayLink] )
    [CCDirector setDirectorType:CCDirectorTypeDefault];

[[CCDirector sharedDirector] setPixelFormat:kPixelFormatRGBA8888];
[CCTexture2D setDefaultAlphaPixelFormat:kTexture2DPixelFormat_RGBA8888];

What can be the maximum size of the image that we can use?

Any limitations regarding the cocos2d and iPad please post them.

Thank you.

© Stack Overflow or respective owner

Related posts about cocoa-touch

Related posts about cocos2d