Cocos2d-iphone load large scrollable image like "plant VS zombie"
How to I load a very large image eg 1024*4608 us开发者_StackOverflow社区ing cocos2d-iphone and be able to scroll the image?
Your application will be more responsive if you break up your very large image into tiles. Tiles are smaller images, usually 256 X 256, that can be reassembled by your application into the large image. You display just the tiles that are visible. This uses less phone memory.
Here's a blog post with some Cocos2D-iPhone image scrolling.
精彩评论