摘要:
- (CCAnimation*) animationWithFile:(NSString*)name frameCount:(int)frameCount delay:(float)delay
{ //动画帧文件集 NSMutableArray* frames = [NSMutableArray arrayWithCapacity:frameCount]; // ... 阅读全文
posted @ 2012-07-23 09:52
<懒洋洋>
阅读(162)
评论(0)
推荐(0)
摘要:
// 获取Resources目录下的文件夹路径, 例如: Resources/FolderName
NSString *bundlePath = [[[NSBundle mainBundle] pathForResource:@"FolderName" ofType:nil] retain]; // 读取文件
NSString *FilePath = [bundlePath string... 阅读全文
posted @ 2012-07-23 09:24
<懒洋洋>
阅读(1008)
评论(0)
推荐(0)
浙公网安备 33010602011771号