Hi,
i create my project, then create Art folder and put there all my images.
CCSprite *blueSprite = [CCSprite spriteWithFile:@"colorsprite.png"];
error no such file or directory
Where can i set the pathes in XCode?
XCode images intergation
(3 posts) (3 voices)-
Posted 2 years ago #
-
You have to add that folder too your project for xcode too find the images, you can just drag the folder in and add it like that.
Posted 2 years ago # -
You can always set/change the relative path for your files:
"Get Info" for the group > General - You'll see Path is empty there by default. So just click on "Choose" and find/select directory. That way your group will have relative path from now on and all files/directories dropped there will go straight into that directory...
Posted 2 years ago #
Reply
You must log in to post.