摘要:
- (CCAnimation*) animationWithFile:(NSString*)name frameCount:(int)frameCount delay:(float)delay
{ //动画帧文件集 NSMutableArray* frames = [NSMutableArray arrayWithCapacity:frameCount]; // ... 阅读全文
摘要:
// 获取Resources目录下的文件夹路径, 例如: Resources/FolderName
NSString *bundlePath = [[[NSBundle mainBundle] pathForResource:@"FolderName" ofType:nil] retain]; // 读取文件
NSString *FilePath = [bundlePath string... 阅读全文