Hi folks, I've created a very simple program with a Layer containing a sprite that contains another 3 children sprites. The cocos documentation states that the default value for sprite anchors are image.widht / 2, image.height / 2 (and the code of cocos/sprite.py reflects this).
Well, anyway I added the children sprites to my sprite at position (0,0) and I expected the anchors of the children to coincide with the anchor of the parent sprite (i.e. the children would be located at the center of the parent sprite), but what is happening is that the children sprites centers are located at the top right corner of my parent sprite. I don't know if this is by design but it seems wrong and unintuitive to me. I'm using cocos 0.3.0 rc0 on Windows XP Professional. Thanks for yout attention! -- Kao Cardoso Félix Página pessoal: http://www.inf.ufrgs.br/~kcfelix Blog: http://kaofelix.blogspot.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
