随笔分类 -  移植笔记

摘要:cocos2d ipad支持retina (Use Retina Graphics In iPad)very easy:in ccFileUtils.m search for+(NSString*) getDoubleResolutionImage:(NSString*)pathand change the lineif( CC_CONTENT_SCALE_FACTOR() == 2)for the lineif( CC_CONTENT_SCALE_FACTOR() == 2 || (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad))A 阅读全文
posted @ 2012-02-04 19:10 暗夜精灵nightelf 阅读(728) 评论(0) 推荐(0)
摘要:一、将iphone程序变运行为ipad程序 1、首先设置target 的info:将baseSDK的版本降低到 3.2,保证程序能在ipad程序上运行;Targeted Device Family设置为iPhone/iPad;iPhone OS Deployment Target设置为iPhone OS 3.1.3或更低。 2、选择simulator为ipad,run!~ 二、将iphone程序转换为universal通用程序 1、选中target,执行project->upgrade current targetto ipad...,xcode会弹出对话框,由你选择两种模式:one u 阅读全文
posted @ 2012-02-04 19:08 暗夜精灵nightelf 阅读(749) 评论(0) 推荐(0)