02 2012 档案

摘要:http://all-ipad.net/cocosbuilder-for-cocos2d/ 阅读全文
posted @ 2012-02-04 19:29 暗夜精灵nightelf 阅读(282) 评论(0) 推荐(0) 编辑
摘要:从模拟器上截图,原来需要按住Control键时截图功能才会出现在Edit菜单中。也可以使用mac自带的截图功能。 阅读全文
posted @ 2012-02-04 19:26 暗夜精灵nightelf 阅读(829) 评论(0) 推荐(0) 编辑
摘要: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 阅读(720) 评论(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 阅读(730) 评论(0) 推荐(0) 编辑