开发者

manage artwork game data for iphone/ipad/osx

开发者 https://www.devze.com 2023-03-12 09:11 出处:网络
I looked for some hours, can\'t seem to find it anymore. There is a term for using some kind of a \"artmap\" for loading graphic parts inside your app?

I looked for some hours, can't seem to find it anymore. There is a term for using some kind of a "artmap" for loading graphic parts inside your app?

For example, i make one file (jpg/tif/png?) with different buttons and other visual items. Then i 'copy' just a specific rect from the 'map' and use it as a button, title whatever.

I'm looking for some info, and pointers how to implement with cocoa (iphone, ipad, os开发者_StackOverflow社区x).

Thanks!


As Dietrich was saying its called a "Texture Atlas". Apple has some documentation for this:

https://developer.apple.com/library/ios/recipes/xcode_help-texture_atlas/AboutTextureAtlases/AboutTextureAtlases.html

0

精彩评论

暂无评论...
验证码 换一张
取 消