English 中文(简体)
未使用的 h图像
原标题:hd images not working

In simulation and on device, there is something that happen with my cocos2d which its strange. I have xcode 4.2, running on simulation ios5 and have cocos2d v1.0.1 .

The app is working great, when all images in HD mode(double size),but without the -hd Then when i have tried to change all images from image.png to image-hd.png, he cant find the image anymore.

I have to say that after i added the -hd ,and before i have cleaned the cache it worked. After the cache was clean, it stopped.

克民共体在我的代表中得到了帮助,过去也发挥了作用。

他除了任何东西外,还能做一些事情。

any idea ?? thanks.

最佳回答

在我更新至1.0.1时,这促使我zy笑。 我花了几个小时,试图理解为什么它会有时而不是在项目之间工作。 基本上,你们都需要做的是,确保你在项目中列入适当标明的不同形象。 仅凭其项目的形象,你就没有成功。 你必须将图像、png和图像-hd.png列入你的项目,或如你所述,将出现错误。 一、二、一、二、二、三、四、四、四、四、三、四、三、四、三、四、三、四、三、四、三、四、五、四、五、四、五、四、五、四、五、四、五、八、四、五、八、八、四、八、四、八、八、八、八、八、九、八、八、九、八、八、九、八、八、八、八、八、八、八、九、八、八、九、八、八、八、八、八、九、八、八、八、八、八、九、八、八、八、八、九、八、九、八、九、八、九、八、八、八、八、九、八、八、八、八、八、八、八、八、九、八、八、八、八、八、九、九、九、八、八、九、八、八、八、八、八、八、八、九、九、八、八、八、八、八、八、八、 (单位:image.png、图像-hd.png、图像-ipad.png和图像-ipadhd.png)

然后,在你的法典中只提及图像。 页: 1

问题回答

暂无回答




相关问题
Asynchronous request to the server from background thread

I ve got the problem when I tried to do asynchronous requests to server from background thread. I ve never got results of those requests. Simple example which shows the problem: @protocol ...

objective-c: Calling a void function from another controller

i have a void, like -(void) doSomething in a specific controller. i can call it in this controller via [self doSomething], but i don t know how to call this void from another .m file. I want to call ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

NSUndoManager and runModalForWindow:

I have a simple Core Data app which displays a list of entities in the main window. To create or add new entities, I use a second modal window with a separate managed object context so changes can be ...

NSMutableArray values becoming "invalid"

I m trying to show a database information in a tableview and then the detailed information in a view my problem is as follow: I created a NSMutableArray: NSMutableArray *myArray = [[NSMutableArray ...

iPhone numberpad with decimal point

I am writing an iPhone application which requires the user to enter several values that may contain a decimal point (currency values, percentages etc.). The number of decimal places in the values ...

热门标签