开发者

Place images symetric both in hor & vertical

开发者 https://www.devze.com 2023-04-13 04:48 出处:网络
I have several of images with equal in their dimensions which I read their file paths from an xml. And I would like to place these images on iPhone screen programmatically. Up to here everything is fi

I have several of images with equal in their dimensions which I read their file paths from an xml. And I would like to place these images on iPhone screen programmatically. Up to here everything is fine. I'm using cocos2d solely.

Do you know any API that would help me ? I'll supply these information - distance both in vertical and horizontal to the neighboring images - available drawable area - where does the drawable area start and end

I can of course do it by code but this seemed to me very comm开发者_JS百科on problem for most of developers and though may be someone already implemented

thx

0

精彩评论

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