On Thu, Aug 28, 2008 at 7:43 PM, Kao Cardoso Felix <[EMAIL PROTECTED]> wrote:
>
> On Thu, Aug 28, 2008 at 7:30 PM, Kao Cardoso Felix <[EMAIL PROTECTED]> wrote:
>> is right. I'm willing to discuss this, but unfornately I can't give a
>> solution right now because I ran out of ideas :(
>
> Well, just occured me something right now: why not make another cocos
> sprite property called image_anchor? Then we set that anchor by
> default to w/2, h/2 and the other two to 0, 0. Than the image would be
> positioned by it's center by default and the transform and children
> offsets would be 0, 0 causing the sprite and it's children to be
> rotated and scaled around the center and the children to be positioned
> relative to it too.
>
> The con is to have an extra property and make the api a little more
> complex, but maybe it will be worth it.

Sounds reasonable. I dont think that it will make the api harder, as
it seem to be rather complex now. Following the text in your previous
email took some will. So if things get more intuitive in some level, i
thinks its a good call.

+1 from me. guys?

Lucio.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to