Cocos2d - 默认iPhone5支持带有/wide / -widehd不工作 [英] Cocos2d - Default iPhone5 support with -wide / -widehd not working

查看:140
本文介绍了Cocos2d - 默认iPhone5支持带有/wide / -widehd不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我相信现在Cocos2D 2.1及以上支持iPhone5与图像扩展-widehd.png

I believe now Cocos2D 2.1 and above Support iPhone5 with image extension -widehd.png

我使用相同,但在我的游戏不工作。刚刚在cocos2d搜索,并发现这些在CCFileUtils.h

I used same but not working in my game. Just searched in cocos2d and found these in CCFileUtils.h

- iPhone: ""
- iPhone HD: "-hd"
- iPhone5 : "-wide"
- iPhone5 HD: "-widehd"
- iPad: "-ipad"
- iPad HD: "-ipadhd"
- Mac: ""
- Mac HD: "-machd"

现在默认情况下cocos2d支持iPhone5。

This indicates now by default cocos2d support iPhone5. Why not working for me?

推荐答案

在Cocos2d 3.0中,它使用-iphone5hd扩展

In Cocos2d 3.0 its working with -iphone5hd extension

   imageName-iphone5hd.png  // For iPhone5 wide screen image

这篇关于Cocos2d - 默认iPhone5支持带有/wide / -widehd不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆