On Wed, May 6, 2009 at 11:45 AM, Eric E. Dolecki <edole...@gmail.com> wrote:

> I don't want to hijack this thread, but is it acceptable to use small PDF
> files for things like game assets, or does vector artwork bog the processor
> down and bitmaps are preferred?

It shouldn't cause any problems unless you are constantly reloading
and rasterizing the images from their PDF form. NSImages (and other
APIs) can cache a rasterized version of a PDF image once draw
destination context is hit. I know many sprite based games that have
switched to using PDFs.

For example checkout the asteroids example on the following...

http://cocoawithlove.com/search/label/CoreAnimation

-Shawn
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to