摘要:原文地址取当前时间的秒数NSTimeInterval time = [[NSDate date] timeIntervalSince1970];long long int date = (long long int)time;NSLog(@”date\n%d”, date); //1295322949//把秒数转化成yyyy-MM-dd hh:mm:ss格式NSDate *dd = [NSDate dateWithTimeIntervalSince1970:date];NSLog(@”d:%@”,dd); //2011-01-18 03:55:49 +0000//给一个时间秒数,取出对应的时间
阅读全文
摘要:@echo offcolor 0adel /s /q /f tmp1.txt:: 角色动画dir /b /a:d 动画\角色动画 >> tmp1.txtrmdir /s /q "..\animations"mkdir ..\animationsmkdir ..\animations\charactersmkdir ..\animations\effectsfor /f %%i in (tmp1.txt) do (@echo 正在生成动画文件:%%i"tp\\TP.exe" --smart-update --format cocos2d --d
阅读全文
摘要:@echo offcolor 0armdir /s /q /f ..\fonts\atlasrmdir /s /q 2Xmkdir 2Xmkdir 2X\iconsmkdir 2X\icons\itemmkdir 2X\icons\spellmkdir 2X\fontsmkdir 2X\fonts\atlasdel /s /q /f "..\common\*.png"rmdir /s /q /f ..\iconsmkdir ..\iconsmkdir ..\icons\Itemmkdir ..\icons\spellrmdir /s /q /f ..\fonts\atlas
阅读全文