spritebuilder - Cocos2d CCNode.positionInPoints gives percentage value not position? -


i think have simple problem. making project in sprite builder, , tend lay things out percentages.

but in xcode when "position in points" give me percentage (i.e. number 0-1). if change percentages in spritbuilder works fine, keep things in percentage.

what causing this?

it's position type. reference:

by using positiontype property can specify how node’s position interpreted. instance, if set type ccpositiontypenormalized position value of (0.5, 0.5) place node in center of parent’s container. container specified parent’s contentsize.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -