Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

redscreamer19

macrumors newbie
Original poster
Jul 23, 2009
1
0
Dallas
I need some very tech-specific answers.

1) I have started making art for my iPhone game. The canvas size is 320x480, and I need to know how to export the image (say, for instance, a 2D man with a sword), and not the whole canvas to Xcode. I want to be able to put the man and not the whole 320x480 box into, as I just said, Xcode. I do know, however, that they need to be png. But, concerning the exporting of images, is this even the way to do it? Anyways, thanks for reading.

I am using:
Photoshop CS4
 
There's no special way to export images. I used illustrator and I exported them to .png format with 72 ppi and transparent backgrounds. My advice is to use transparent backgrounds so that the images work well with your app.
 
Depending on how you're using the sprites in your code you'd probably save the images for use with a size that is smaller than the entire screen.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.