1、TexturePacker: command not found
sudo ln -s /Applications/TexturePacker.app/Contents/MacOS/TexturePacker /usr/local/bin/TexturePacker
2、svn 快捷命令 批量加 批量删
svn status|grep ? |awk ‘{print $2}’|xargs svn add
svn status|grep ! |awk ‘{print $2}’|xargs svn del
svn commit -m “ddd”
3、unsigned char *pBuffer = CCFileUtils::sharedFileUtils()->getFileData(strPath.c_str(), “rb”, &nBufferSize);
一定要 释放掉 CC_SAFE_DELETE_ARRAY(pBuffer); 内存优化
本文介绍了解决TexturePacker命令未找到的问题及配置方法,并分享了使用SVN进行文件批量添加和删除的命令技巧。同时,还提到了Cocos2d-x中资源加载与内存管理的最佳实践。

2261

被折叠的 条评论
为什么被折叠?



