Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写一个使用平铺的应用程序来完成我的关卡。该应用程序在模拟器中运行良好,但是当我在设备上运行它时,关卡上的所有精灵都被推到左下角。地图完全没有扭曲,是同一个地方,只有精灵被扭曲了。我检查了文件名,它们匹配得很好。知道为什么会发生这种情况吗?
如果您不支持视网膜显示器,则必须禁用视网膜支持。为此,请转到 AppDelegate.m 文件找到如下所示的一行:
if( ! [director_ enableRetinaDisplay:YES] ) CCLOG(@"Retina Display Not supported");
并用这个改变它:
[director_ enableRetinaDisplay:NO]