开发者

Which are vector graphics based image format supported by iphone?

开发者 https://www.devze.com 2023-03-19 13:31 出处:网络
I have developed one game for iphone which uses png images.It works well but which are the vector graphics images supportedby iphone that i can use for my game for better quality of image like when we

I have developed one game for iphone which uses png images.It works well but which are the vector graphics images supported by iphone that i can use for my game for better quality of image like when we zoom the image the image displayed properly.which are the most common image formats that are widely used by iphone 开发者_如何学Cgame developers?


I saw this on github a while back. It claims to render SVGs to Core Image layers. I've never used it, but I know it exists.


The only vector graphics format that is directly supported on iOS is PDF (not counting UIWebView, which also supports SVG).

Vector graphics are not typically used in games, because they're much slower to render, but that depends on what type of game you're developing. I would consider using multiple versions of bitmap images with different resolutions for zooming.

0

精彩评论

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