cocos2d-x Sprite对象 返回null

版权声明:本文为博主原创文章,转载注明来源。 https://blog.csdn.net/u013654125/article/details/88221551

最近在帮别人用coco2dx3.8.1这样比较老的一个版本,来集成一个功能,然后需要打包成ios App。

在运行的时候官方示例项目报了一个错:

然后是在stackoverflod上查到的答案:

https://stackoverflow.com/questions/36816442/cocos2d-x-spritecreatefilename-png-returning-null

stackoverflow打开较慢,所以记录下它的答案:

把Remove Text Metadata From PNG Files从“Yes”改为“No”。

猜你喜欢

转载自blog.csdn.net/u013654125/article/details/88221551
今日推荐